Is there a way to send this data to my email address? I need help implementing a method to achieve this.
{Name: "John", phoneNumber: "12364597"}
Name: "John"
phoneNumber: "12364597"
__proto__: Object
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent {
submit(f) {
console.log(f.value);
}
constructor() { }
}