Problem using System.Web.Mail

  • Thread starter Thread starter HBrothers
  • Start date Start date
H

HBrothers

I'm trying to send an email message using System.Web.Mail.
Each time I try, I get the error message:
Could not access 'CDO.Message' object.
This looks to me like a configuration error of some sort. Any suggestions
about how to solve it?

Thanks,
Hardin Brothers
 
HBrothers said:
I'm trying to send an email message using System.Web.Mail.
Each time I try, I get the error message:
Could not access 'CDO.Message' object.
This looks to me like a configuration error of some sort. Any suggestions
about how to solve it?

Do you have CDO installed? If not, I believe that's likely to be the
problem.
 
Jon Skeet said:
Do you have CDO installed? If not, I believe that's likely to be the
problem.

Yes, CDO is installed. I did check that. Both CDO.Message and
CDO.Message.1 appear to be properly installed in the registry (this is a
WinXP Pro machine on an office network with an Exchange server, if that
makes a difference).
 
Did you check the InnerException message?

HBrothers said:
Yes, CDO is installed. I did check that. Both CDO.Message and
CDO.Message.1 appear to be properly installed in the registry (this is a
WinXP Pro machine on an office network with an Exchange server, if that
makes a difference).
 
Seems like you do not have permissions to send emails to people outside of your exchange server.

Your exchnage server is configured such that emails can be sent only to people within the same server, you will need permissions to access outside email addresses.

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Back
Top