System.web.mail ARGH!

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

The system.web.mail is really starting to get on my nerves. I made a minor
change in my app (changed the text that displays when the user clicks a
button). I didn't change anything having to do with the email routine. The
program has always worked fine until now. When it tries to send emails, it
throws the "unable to access the CDO.Message object". I've done a google
search for this and i've tried the suggestions i've found (instead of
smtpmail.server="server", smtpmail.server.insert(0,"server")) but have had
no success.

Can someone give me a clue? Or should I write my own SMTP code?
 
You need to have a MAPI client installed on the client that is working with
the code in previous .NET versions such as 1.0 and 1.1, mainly Outlook...
Int .NET 2.0 this has been changed it appears and no longer needs a client
installed
 
Brian,
Huh?

System.Web.Mail does NOT require a MAPI client, it requires the OS SMTP
client! Don't confuse CDONTS & CDOSYS with CDO 1.2.1. CDO 1.2.1 requires a
MAPI client, while CDONTS & CDOSYS do not. System.Web.Mail is based on
CDONTS & CDOSYS.

The best place to research problems (also learn other tips & techniques)
about System.Web.Mail is

http://www.systemwebmail.net/

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| You need to have a MAPI client installed on the client that is working
with
| the code in previous .NET versions such as 1.0 and 1.1, mainly Outlook...
| Int .NET 2.0 this has been changed it appears and no longer needs a client
| installed
|
| | > The system.web.mail is really starting to get on my nerves. I made a
| > minor change in my app (changed the text that displays when the user
| > clicks a button). I didn't change anything having to do with the email
| > routine. The program has always worked fine until now. When it tries
to
| > send emails, it throws the "unable to access the CDO.Message object".
| > I've done a google search for this and i've tried the suggestions i've
| > found (instead of smtpmail.server="server",
| > smtpmail.server.insert(0,"server")) but have had no success.
| >
| > Can someone give me a clue? Or should I write my own SMTP code?
| >
|
|
 
Back
Top