I cannots end an email (ch. 09), getting the following error message:
An attempt was made to access a socket in a way forbidden by its access permissions 184.108.40.206:25
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 220.127.116.11:25
Line 19: SmtpClient mySmtpClient = new SmtpClient();
Line 20: mySmtpClient.Send(myMessage);
Line 21: }
Line 22: }
Source File: c:\BegASPNETCS\SiteCS\Demos\Email.aspx.cs Line: 20
My email account is with Verizon.net.
I tried all the options suggested in ch.09 for the web.config file.
What may cause that? Could it be because of Norton 360 settings?