1

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

Anton Sizikov
  • 9,105
  • 1
  • 28
  • 39
  • 1
    Is 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
  • 1
    There is no System.Net.Mail assembly for WP8 – Anton Sizikov Nov 04 '13 at 13:48

1 Answers1

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