Email Settings Error
Posted: Mon Sep 21, 2009 3:44 pm
I am getting the following error whenever I try to configure my email settings.
"Server configuration was updated but the test resulted in error: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
1. SMTP Server: smtp.gmail.com
2. SMTP Port: 465 (I have tried 587 and even 993 as well)
3. Enable SSL: yes
4. SMTP Username: XXX
5. SMTP Password: XXX
6. Use Authentication: Yes
ASP.net is running under a medium trust environment. Does anyone know how to fix this problem? Thanks.
"Server configuration was updated but the test resulted in error: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
1. SMTP Server: smtp.gmail.com
2. SMTP Port: 465 (I have tried 587 and even 993 as well)
3. Enable SSL: yes
4. SMTP Username: XXX
5. SMTP Password: XXX
6. Use Authentication: Yes
ASP.net is running under a medium trust environment. Does anyone know how to fix this problem? Thanks.