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

CDO Properties

P: n/a
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
--
Dino Buljubasic
Software Developer
http://rivusglobal.com
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:NC********************@news2.telusplanet.net. ..
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
--
Dino Buljubasic
Software Developer
http://rivusglobal.com

Nov 20 '05 #2

P: n/a
Thanks,

can you show me how to do that please
--
Dino Buljubasic
Software Developer
http://rivusglobal.com

"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
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
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:NC********************@news2.telusplanet.net. ..
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
--
Dino Buljubasic
Software Developer
http://rivusglobal.com


Nov 20 '05 #3

P: n/a
you've got to be kidding me! alright...hold on....
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:bX********************@news2.telusplanet.net. ..
Thanks,

can you show me how to do that please
--
Dino Buljubasic
Software Developer
http://rivusglobal.com

"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
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
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:NC********************@news2.telusplanet.net. ..
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
--
Dino Buljubasic
Software Developer
http://rivusglobal.com



Nov 20 '05 #4

P: n/a
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.
"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
you've got to be kidding me! alright...hold on....
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:bX********************@news2.telusplanet.net. ..
Thanks,

can you show me how to do that please
--
Dino Buljubasic
Software Developer
http://rivusglobal.com

"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
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
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message news:NC********************@news2.telusplanet.net. ..
> 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
>
>
> --
> Dino Buljubasic
> Software Developer
> http://rivusglobal.com
>
>



Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.