"cannot access the CDO.message object". Can someone help me outThis seems to be a pretty common problem when using System.Web.Mail. As I recall, when I had this problem, the solution was to change the properties on my SMTP server to allow relay access to anyone. This works out OK if you're doing some testing on a development machine, something not directly connected to the Internet and for crap sake NOT using your production SMTP server (unless you really do want people to relay spam through your site). Apparently from what I've seen, there is no way around this, so I'm currently checking out some other SMTP mail solutions to replace System.Web.Mail. I downloaded on this morning, OpenSMTP.Net, which is open source and can be downloaded at http://sourceforge.net/projects/opensmtp-net/. Haven't tried it out yet though, so I can't say how/if it works better than System.Web.Mail
Good luck
Chri
-- Tayo wrote: --
I get this error message while trying to send mail using the system.web.mail.smtpmail class
"cannot access the CDO.message object". Can someone help me out
Hi,
I also had this problem.
The .NET SMTP does not send mail like ASP, but accesses the SMTP server on
its own machine. Therefore the SMTP server needs to allow mail relay by
itself. So give access to 127.0.0.1 to relay and it should work.
Leo
--
---------------
Leo Muller
Webmaster Keshet Interactive
Leo.Miller@.Keshet-TV.com
03 - 7676383 / 067 - 972985
------------
http://www.keshet-i.com
http://www.mooma.com
http://www.hakasefet.co.il
http://www.bip.co.il
http://www.keshet-tv.com
"Tayo" <anonymous@.discussions.microsoft.com> wrote in message
news:E7C7D6CE-C82F-4299-89CE-37391DD44443@.microsoft.com...
> I get this error message while trying to send mail using the
system.web.mail.smtpmail class;
> "cannot access the CDO.message object". Can someone help me out
0 comments:
Post a Comment