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

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

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.