Is there an easy method for sending email.

  • Thread starter Thread starter rsine
  • Start date Start date
R

rsine

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
 
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.


| 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
|
|
|
| Don't just participate in USENET...get rewarded for it!
 
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
 
Back
Top