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

SmtpMail Error

P: n/a
Configuration:
- ASP.NET web service running on a Windows 2000 server.
- Exchange server running on a Windows 2000 server.
- The web server and the exchange server are on different computers in the
network.

Problem:
Whenever I try to send an email, via my ASP.NET web service, using the
SmtpMail object I receive the following HttpException message: "Could not
access 'CDO.Message' object." Now, the interesting thing is that this will
only occur when I try to send an email to a domain address other than our
internal network domain. For example, me@mycompany.com works. But,
me@hotmail.com produces the above error.

Thank you in advance for any suggestions.
Mark Sanders
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I don't think I've encountered this error, but I've encountered too
many when using Web and Windows services. My solution. Write my own.
http://www.kbcafe.com/articles/HowTo.SMTP.CSharp.pdf

Randy
http://www.kbcafe.com

"Mark Sanders" <ma**********@hotmail.com> wrote in message news:<eA**************@TK2MSFTNGP12.phx.gbl>...
Configuration:
- ASP.NET web service running on a Windows 2000 server.
- Exchange server running on a Windows 2000 server.
- The web server and the exchange server are on different computers in the
network.

Problem:
Whenever I try to send an email, via my ASP.NET web service, using the
SmtpMail object I receive the following HttpException message: "Could not
access 'CDO.Message' object." Now, the interesting thing is that this will
only occur when I try to send an email to a domain address other than our
internal network domain. For example, me@mycompany.com works. But,
me@hotmail.com produces the above error.

Thank you in advance for any suggestions.
Mark Sanders

Nov 15 '05 #2

P: n/a
Or, you could consider using CSLMail from

http://www.wintoolzone.com/showpage....how=components

--------------------------------------------------
Kumar Gaurav Khanna
Microsoft MVP - .NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/

"Randy Charles Morin" <rm****@kbcafe.com> wrote in message
news:a4**************************@posting.google.c om...
I don't think I've encountered this error, but I've encountered too
many when using Web and Windows services. My solution. Write my own.
http://www.kbcafe.com/articles/HowTo.SMTP.CSharp.pdf

Randy
http://www.kbcafe.com

"Mark Sanders" <ma**********@hotmail.com> wrote in message

news:<eA**************@TK2MSFTNGP12.phx.gbl>...
Configuration:
- ASP.NET web service running on a Windows 2000 server.
- Exchange server running on a Windows 2000 server.
- The web server and the exchange server are on different computers in the network.

Problem:
Whenever I try to send an email, via my ASP.NET web service, using the
SmtpMail object I receive the following HttpException message: "Could not access 'CDO.Message' object." Now, the interesting thing is that this will only occur when I try to send an email to a domain address other than our internal network domain. For example, me@mycompany.com works. But,
me@hotmail.com produces the above error.

Thank you in advance for any suggestions.
Mark Sanders

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.