- Home /
Unity 4 System.Net.Mail import problem.
I'm trying to import and use System.Net.Mail in some code coming from Unity 3.5
Monodevelop says "using System.Net.Mail;" is valid but Unity can't find the import and get it in.
The error was "The type or namespace name 'Mail' does not exist in the namespace 'System.Net'."
Answer by Graham-Dunnett · Apr 14, 2013 at 04:28 PM
System.Net.Mail
is not allowed to be used when you target a webplayer. Set your build platform to standalone and you'll be okay.
Your answer
![](https://koobas.hobune.stream/wayback/20220613100257im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Kongregate API not connecting C# 2 Answers
How to store player model and then swap the model to an object I Raycast hit? 0 Answers
How to solve AR Model of 250 MBs size from hanging or lagging while running in mobile camera? 0 Answers