ts
send(): void {
const body: string = `First Name: ${this.form.value.firstName}` + '\n' + `Last Name:${this.form.value.lastName}`;
console.log('body', body);
const url: string = `mailto:me@y.com?Subject=Sell My House&body=${body}`;
window.open(url);
}
Console.log shows correctly:
body First Name: sampath
Last Name:lokuge
But why email client doesn't show it correctly