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

Is there an easy method for sending email.

P: n/a
I am currently adding into a new program emailing of errors.
Unfortunately, it is not as easy as I thought. I tried using SMTP and
ran into the error:

"Could not access 'CDO.Message' object"

So, I switched to using Outlook only to find that a prompt pops up
stating the following:

"A program is trying to automatically send e-mail on your behalf.

Do you want to allow this?

If this is unexpected, it may be a virus and you should choose 'No'"
Is there another alternative to these two methods? If not, is there a
way to get around the SMTP error or to stop the pop up?
-Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
please scroll down the thread list. you'll see your question being asked and
answered over and over again...it's a security patch, and there are many
ways around it.

hth,

steve

btw...cdo is not longer re-distributalbe. your end-user must install it
explicitly when installing office products. it simply can't be relied on to
be on each computer to which you distribute your application.
"rsine" <an*******@devdex.com> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...
| I am currently adding into a new program emailing of errors.
| Unfortunately, it is not as easy as I thought. I tried using SMTP and
| ran into the error:
|
| "Could not access 'CDO.Message' object"
|
| So, I switched to using Outlook only to find that a prompt pops up
| stating the following:
|
| "A program is trying to automatically send e-mail on your behalf.
|
| Do you want to allow this?
|
| If this is unexpected, it may be a virus and you should choose 'No'"
|
|
| Is there another alternative to these two methods? If not, is there a
| way to get around the SMTP error or to stop the pop up?
|
|
| -Thanks
|
|
| *** Sent via Developersdex http://www.developersdex.com ***
| Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #2

P: n/a
Steve,

I guess I am looking for a better way then relying on Outlook or CDO
rather than a workaround. Is there another method that you know of that
can allow me to send an email with an attachment that doesn't involve
either of these methods?

I appreciate your help.

-Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.