I want to send emails from my application by using Windows Mail App. MS offers EmailManager for this, which allows sending messages in HTML format but `EmailManager have an issue related to working with HTML API.
After researching for understanding what is the issue, I find these articles
Does the Win 10 UWP EmailMessage API support having an HTML body?
EmailMessage with EmailMessageBodyKind.Html
I began to use the features of the Manager`
private async void SendByEmail(StorageFile file , string text)
{
var emailMessage = new EmailMessage();
emailMessage.Attachments.Add(new EmailAttachment(file .Name, file ));
emailMessage.Body = text;
await EmailManager.ShowComposeNewEmailAsync(emailMessage);
}
but it does not match my requirements.
Are there other ways in UWP to send emails using Windows Mail App?