I want to add an attachment in mail through my app. However System.Net.Mail
does not work for me. System.Net has only references for System.Net.Browser
, System.Net.Sockets
, and System.Net.NetworkInformation
Asked
Active
Viewed 485 times
1

Anton Sizikov
- 9,105
- 1
- 28
- 39

seshagopalan
- 23
- 6
-
1Is your question similar or answered in this: http://stackoverflow.com/questions/15561320/system-net-mail-reference-does-not-exist – Amber Nov 04 '13 at 13:29
-
Nope. That didnt solve my prob and I am facing the same issue. I am not able to add System.dll. It gives me error that "The reference to the higher version or incompatible assembly cannot be added to the project" – seshagopalan Nov 04 '13 at 13:34
-
1There is no System.Net.Mail assembly for WP8 – Anton Sizikov Nov 04 '13 at 13:48
1 Answers
1
System.Net.Mail
isn't supported by Windows Phone. As far as I know, the only way to send a mail on Windows Phone without using a third-party library is the EmailComposeTask
. But as you noticed, it does not support attachments.

Kevin Gosse
- 38,392
- 3
- 78
- 94