Reputation: 1197
I want to send a mail with attachment from my emulator. But in some article I saw that it uses the system.web.dll
namespace. I don't have that namespace.
Please help me. Thanks in advance.
Upvotes: 4
Views: 550
Reputation: 4635
It doesn't look like there is a built in way to do this with WP8. A quick Google search came up with MailMessage. From the article:
MailMessage is a great component which fills a big hole on WP7/8 SDK, you can now finally send unattended emails with attachments from your app without using EmailComposeTask, and you can attach any type of file (pdf, mp3, wav, mp4, avi, bmp, txt, zip, jpg, png...).
Here's a link to download. It's not free, but there is a free trial.
Upvotes: 2