Hi there. I would like to send an email from my iPhone application.
When I add “using System.Net.Mail;” to my script it gives me this error:
“error CS0246: The type or namespace name `Net.Mail’ could not be found. Are you missing a using directive or an assembly reference?”
Is this because I’m only using iPhone basic? If I upgrade to iphone advanced will I be able to access the MailMessage class?
No…System.Net.Mail is .net 2.0, which is too advanced for Unity iPhone, which has an earlier version. A .net upgrade is unlikely because it’s already big enough; adding .net 2.0 will make it too big.