C
cs_hart
I am trying to send an email using our mailserver but keep getting an
error. Here is the code:
SmtpMail.SmtpServer = "MAILSERV.meas-inc.com"
SmtpMail.Send([email protected]", "(e-mail address removed)", "Sub Text", "Msg
Text")
Exception = Could not access 'CDO.Message' object.
Base Exception = The message could not be sent to the SMTP server. The
transport error code was 0x800ccc15. The server response was not
available
If I change the server name to blank I can email ok. If I change it to
anything else, including localhost, it fails. I have tried the
following
Change username to SYSTEM in hte processmodel in machine.config
Adding my machine ip address, 127.0.0.1, and the mail server name to
the Relay restrictions in Default SMTP Virtual Server properties under
IIS.
I can ping the mail server from a command window. I am running win2000
with VB.net v7.1.3088 and framework 1.1 v.1.1.4322
Any helps or ideas appreciated...charlie
error. Here is the code:
SmtpMail.SmtpServer = "MAILSERV.meas-inc.com"
SmtpMail.Send([email protected]", "(e-mail address removed)", "Sub Text", "Msg
Text")
Exception = Could not access 'CDO.Message' object.
Base Exception = The message could not be sent to the SMTP server. The
transport error code was 0x800ccc15. The server response was not
available
If I change the server name to blank I can email ok. If I change it to
anything else, including localhost, it fails. I have tried the
following
Change username to SYSTEM in hte processmodel in machine.config
Adding my machine ip address, 127.0.0.1, and the mail server name to
the Relay restrictions in Default SMTP Virtual Server properties under
IIS.
I can ping the mail server from a command window. I am running win2000
with VB.net v7.1.3088 and framework 1.1 v.1.1.4322
Any helps or ideas appreciated...charlie