468,117 Members | 1,500 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,117 developers. It's quick & easy.

"Could not access 'CDO.Message' object." How to resolve in IIS server

I am trying to send mail through smtp. smtp service is
running on my machine. But every time during the
smtpmail.send(msg) call gives "Could not
access 'CDO.Message' object." error. Could some one help
me out to resolve this issue.

Thanks in advance,
Kamal
Nov 17 '05 #1
1 4739
The message on the caught exception is rather misleading as it always seems
to come back with that regardless of the true problem. Check
exception.InnerException.InnerException.Message to get the true cause of the
error. Provided it isn't rejecting the attempt due to an invalid e-mail
address, it could be that you need to specify the SMTP server via the
SmtpMail.SmtpServer property.

Eric

"Kamal" <ka***@dmdata.com> wrote in message
news:0c****************************@phx.gbl...
I am trying to send mail through smtp. smtp service is
running on my machine. But every time during the
smtpmail.send(msg) call gives "Could not
access 'CDO.Message' object." error. Could some one help
me out to resolve this issue.

Thanks in advance,
Kamal

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by chuckdfoster | last post: by
13 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.