This project is read-only.

Charming Email Compose

Windows Phone 8.1 introduces a new API for composing a new email. This library provides a matching API for Windows Phone 8.0 and for Windows Store 8.1 projects allowing you to share the same code across platforms.

#if WINDOWS_PHONE_APP
using Windows.ApplicationModel.Email;
#else
using InTheHand.ApplicationModel.Email;
#endif


EmailMessage msg = new EmailMessage();
msg.Subject = "App Contact Request";
msg.To.Add(new EmailRecipient("name@domain.com"));
msg.Body = "Replace body with something useful";

await EmailManager.ShowComposeNewEmailAsync(msg);

Last edited May 13, 2014 at 11:04 PM by PeterFoot, version 1