Thursday, January 08, 2009 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  General Discussion  System.Net.Mail...
 System.Net.Mail Error
 
jsymens
5 posts
Joined
4/10/2008

System.Net.Mail Error
Posted: 13 Apr 08 1:57 PM

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 service
SQL 2005
Version 4.5.0 Build 2.1.3015.1372
.net framework
2.0.50727

Thank you

support
2240 posts
1st
Joined
1/3/2006

Re: System.Net.Mail Error
Posted: 13 Apr 08 2:28 PM

Please edit the Web.config file and add full trust as documented here http://forums.asp.net/t/1111145.aspx.

 

  Mainstream Forums  General Discussion  System.Net.Mail...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2009 by Perpetual Motion Interactive Systems Inc.