[WP7] Send mail with default mail client

How to send a custom email from Windows Phone 7 with default configured client?

[code lang=”csharp” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]EmailComposeTask mail = new EmailComposeTask();
mail.To = "info@albertopasca.it";
mail.Subject = "info from app";
mail.Body = "message…";
mail.Show();[/code]

 

Alberto Pasca

Software engineer @ Pirelli & C. S.p.A. with a strong passion for mobile  development, security, and connected things.