By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,846 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,846 IT Pros & Developers. It's quick & easy.

transport error when

P: n/a
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(me@myserv.com", "so******@mail.com", "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

Nov 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
The error code would indicate CDO cannot open a socket. Is there any
software on the machine that would prevent software from opening a
socket to port 25? If there is anti-virus or firewall software
installed on the machine, those would be two places to check.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 11 Feb 2005 09:16:08 -0800, cs*****@yahoo.com wrote:
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(me@myserv.com", "so******@mail.com", "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


Nov 19 '05 #2

P: n/a
Well I went into Viruscan and disabled the blocking rule for port 25. I
now have another error, hoping that means I making progress.
Exception = Could not access 'CDO.Message' object.
Base Exception = The server rejected one or more recipient addresses.
The server response was: 550 5.7.1 Unable to relay for us**@mail.com
(where us**@mail.com is a valid email address)

Nov 19 '05 #3

P: n/a
That is progress, but now your mail server is not allowing you to send
messages. Is the From address valid? If the From address is correct
then the mail server being used is not allowing messages to relay to
the outside.

Do you have any control over the mail server configuration?

You might poke around this FAQ for some more tips:
http://www.systemwebmail.com/faq/4.3.11.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 11 Feb 2005 10:55:40 -0800, cs*****@yahoo.com wrote:
Well I went into Viruscan and disabled the blocking rule for port 25. I
now have another error, hoping that means I making progress.
Exception = Could not access 'CDO.Message' object.
Base Exception = The server rejected one or more recipient addresses.
The server response was: 550 5.7.1 Unable to relay for us**@mail.com
(where us**@mail.com is a valid email address)


Nov 19 '05 #4

P: n/a
Thanks - I'll follow up on these leads. After my last append I did some
digging & it seems like some kind of realying/config isse. I appreciate
the help...charlie

Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.