MrPink1138
Programmer
I have a Win2k server with the IIS SMTP Virtual Server turned on. I've been using it for ages to send emails from contact forms and whatnot with ASP pages.
Now I'm making the switch to ASP.NET and want to do the same. However, when I try to send an email from a .net page I get the following error.
----------
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.Runtime.InteropServices.COMException: The transport failed to connect to the server.
----------
I've tried specifying the IP of the SMTP server, I'm tried not. I've added the IP of the server into the relay restriction box as other postings have suggested but to no avail. Nothing I've done seems to get rid of this error. Regular ASP pages still function fine.
Has anyone had/fixed this problem? Any help would be appreciated.
Thanks
Now I'm making the switch to ASP.NET and want to do the same. However, when I try to send an email from a .net page I get the following error.
----------
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.Runtime.InteropServices.COMException: The transport failed to connect to the server.
----------
I've tried specifying the IP of the SMTP server, I'm tried not. I've added the IP of the server into the relay restriction box as other postings have suggested but to no avail. Nothing I've done seems to get rid of this error. Regular ASP pages still function fine.
Has anyone had/fixed this problem? Any help would be appreciated.
Thanks