I have the following code
EmailMessage email = new EmailMessage();
email.To.Add(new EmailRecipient("xyz@live.com"));
email.Subject = "Msg Subject ";
email.Body = "My Msg";
await EmailManager.ShowComposeNewEmailAsync(email);
showComposeNewEmailAsync () starts the email application with the message displayed above, but I want to send an email directly to the user without starting the email application. How can i do this?
Since I am new to coding, please explain to me in more detail.
source
share