When attempting to send mail the following error on the compose email page.
Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
When attempting to check inbound mail the following error.
Connection to server pop.gmail.com, port 995 failed. Runtime Error: System.Security.SecurityException: Request for the permission of type 'System.Net.SocketPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at Pop3.Pop3MailClient.Connect() in C:\Web.net\SplendidCRM5\_code\Pop3\Pop3MailClient.cs:line 377 The action that failed was: Demand The type of the first permission that failed was: System.Net.SocketPermission The Zone of the assembly that failed was: MyComputer
My hosting service tells me I have full trust set on my site and the error stems from google apps settings. I believe its their server settings. Where to start?
Hosting serviceSQL 2005Version 4.5.0 Build 2.1.3015.1372.net framework 2.0.50727
Thank you
Please edit the Web.config file and add full trust as documented here http://forums.asp.net/t/1111145.aspx.