Using System.Net.Mail = Error CS0234

I am trying to use System.Net.Mail in a webplayer app, but get error CS0234: The type or namespace name Mail' does not exist in the namespace System.Net

Help please.

You can not use this namespace in webplayers.
The webplayer has a very limited subset of the frameworks for size and security reasons and anything that access local aspects of the systems and alike is cut by definition.

You will need to use WWW → Webservice → SMTP → sendmail

WWW->Webservice->SMTP->sendmail ?
Could you be more specific about this? I am thinking of calling a php script instead of using System.Net.Mail…what do you think about that?

Hi wink00. He can’t call script PHP instead of using System.Net.Mail because webplayer not support namespace Mail as: System.Net.Mail and System.Web.Mail. I think he should used PHP send mail. I mean can he need send log player give you !.

Yeah that’s pretty much what dreamora is suggesting. In your webplayer, use the WWW class to talk to your own server, where you run something (e.g. a PHP script) that actually sends the mail.