anthonyricketts
Guppy
I am creating a newsletter application for a client in asp.net / vb.net. When I try to send the mail I get the following error...
The transport failed to connect to the server.
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.
Source Error:
Line 32: objEmail.BodyFormat = MailFormat.Text
Line 33: SmtpMail.SmtpServer = "mail.domain.com"
Line 34: SmtpMail.Send(objEmail)
Line 35: lblEmails.Text += sEmail & "<br>"
Line 36: End While
Is there a problem with my code or is this a problem on the mail server? Thank you.
The transport failed to connect to the server.
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.
Source Error:
Line 32: objEmail.BodyFormat = MailFormat.Text
Line 33: SmtpMail.SmtpServer = "mail.domain.com"
Line 34: SmtpMail.Send(objEmail)
Line 35: lblEmails.Text += sEmail & "<br>"
Line 36: End While
Is there a problem with my code or is this a problem on the mail server? Thank you.