Sending Email in windows phone 8
-
02 Mei 2012 8:16
Hi Everybody
which API should i use to be able to send email from
windows phone 8?
thank you in advance
Semua Balasan
-
02 Mei 2012 11:55Moderator
Hi Mohannad,
There is no such thing as Windows Phone 8. Did you mean Metro style applications? If so you can use the mailto: protocol in HTML5/JavaScript. I don't think we have a specific example but if you 'bing' HTML mailto: or JavaScript mailto: you can find a lot of examples.
-Jeff
Jeff Sanders (MSFT)
- Disarankan sebagai Jawaban oleh Jeff SandersMicrosoft Employee, Moderator 02 Mei 2012 11:55
- Ditandai sebagai Jawaban oleh Jeff SandersMicrosoft Employee, Moderator 07 Mei 2012 12:53
-
02 Mei 2012 23:20Moderator
In a Metro style app you can also use the share source contract to share data. Users can then select from their various email applications (Mail, Facebook, Twitter, etc.) for the share target.
See Sharing and exchanging data and the Sharing content source app sample
--Rob
-
14 Mei 2012 6:01
If you're using XAML (not HTML/JS), you can still use the LaunchUriAsync method to open up the default mail client (or so it appears...)
eg:
Launcher.LaunchUriAsync(new Uri("mailto:tickets@trademetro.uservoice.com"));