Please help! I just try to send an Email from the uploaded (to the server, by having a shared hosting account) version of the program.
Here is the error message:1 Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
2
3 Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
4
5 Source Error:
6
7
8 Line 379: //client.Port = 25;
9 ...
Go to the complete details ...