Last post Nov 22, 2016 07:10 AM by Mikesdotnetting
Nov 22, 2016 12:13 AM|Hyrozen|LINK
I have the same problem as past thread : https://forums.asp.net/t/1111145.aspx?I+don+t+have+System+Net+Mail+SmtpPermission+
Seems like this is locked but there are no solutions here.
Basiclly : My mail sender works locally, I have the System.net.mail.smtpPermission Errors.
Everywhere, they talk avout the trust level in the web.config, but i cant change it with 1and1 without getting a Runtime Errors.
Can someone help me ?
Nov 22, 2016 07:10 AM|Mikesdotnetting|LINK
If you have the same issue as the thread you referenced, and 1and1 do not allow full trust, you have two choices - stop trying to send email or move to a sensible hosting company. There is no code solution for you.
You might want to check with 1and1 first to see if they offer an alternative package that allows you to send mail.