CDO Properties

  • Thread starter Thread starter Dino M. Buljubasic
  • Start date Start date
D

Dino M. Buljubasic

I am creating an applications that has to do auto emailing whenever some
actions have been performed. I need to set an account with the company that
provides email provider and need to be able to set user name and password so
that emails sent from my applicatios get accepted and forwarded to people
who requested to be emailed.

Speciffically, I need to find out how to set user name and password for a
CDO object.

So far, I do emailing successfully from my machine but any other machines
return an error saying:
"The following problem occured when attempting to send email to John Doe:
Could not access 'CDO.Message' object."

So far, I am using SmtpMail.Send(aMessage) to send emails and as I sad, it
works fine from my machine only.


Any help will be appreciated
 
you cannot guarantee that cdo will exist on each pc on which your
application will run and, you are not free to re-distribute it at will. you
may consider opening a socket and connecting to your smtp server, then send
the message using the standard smtp rfc commands directly to the socket.
imo, cdo sucks absolutely!

hth,

steve
 
actually...no i won't. i just copied the code to the clipboard and am having
second thoughts about pasting it here. you need to learn how to do this
yourself. i paid my dues putting this code together and have learned a great
deal in the process. i don't think i want to deprive you of the same.

the smtp rfc is on the web and there are also plenty of tcpclient examples
out there...you can put 2 and 2 together.
 
Back
Top