Search code examples
c#windows-8windows-runtimewinrt-xamlwinrt-async

How do I send an email from a WinRT/Windows Store application?


I am developing a Windows Store Application (Windows 8).

I have a need to send emails based on data and address stored in the application data and without the need of the user to type it the data or the address.

What would be the right/easy way to implement it?

EitanB


Solution

  • The correct way would be to use Sharing. Your app should create an HTML document or Text and share it. The user would select Mail from the Share charm and the HTML/Text would become the body of the email.

    See here for more info...

    http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh973055.aspx