I am using MAPI to send e-mails from vb6 through Outlook 2003. A security
message appears for every e-mail sent. (A program is trying to access e-mail
addresses....). I have used a product called ClickYes, but I want to control
this through my vb6 application so the warning does not appear.
Any suggestions would be appreciated!!
Wim Dirks - 16 Jan 2006 20:09 GMT
>I am using MAPI to send e-mails from vb6 through Outlook 2003. A security
> message appears for every e-mail sent. (A program is trying to access
[quoted text clipped - 4 lines]
>
> Any suggestions would be appreciated!!
I think you have to tell Outlook (somewhere in Options I think) that other
programs are allowed to send emails.
Wim Dirks
Jay Taplin - 17 Jan 2006 14:07 GMT
IMHO, I feel that disabling that feature is a dangerous way to go.
While a lot of security restrictions can be a burden and cumbersome, I
think that this one is useful, as it prevents spyware and viruses from
easily propogating themselves to the rest of the web. If at all
possible, I'd go the route of using a different mailing technology,
such as CDOSYS or http://www.freevbcode.com/ShowCode.Asp?ID=109.
There is an article about options for getting around the message at
http://www.slipstick.com/outlook/esecup.htm#autosec.
Best of luck!
Jay Taplin
Jay Taplin - 16 Jan 2006 22:25 GMT
Are you able to use a different technology to mail, such as CDOSYS?
This
would allow you to completely bypass the message (actually, it
completely
bypasses Outlook/MAPI); however, if you want the e-mail to appear in
Outlook, this will not work for you.
A quick search on the web found this:
http://www.programmingtalk.com/archive/index.php/t-11977.html
Jay Taplin MCP
David J Mark - 27 Jan 2006 00:05 GMT
>I am using MAPI to send e-mails from vb6 through Outlook 2003. A security
> message appears for every e-mail sent. (A program is trying to access
> e-mail
Yep.
> addresses....). I have used a product called ClickYes, but I want to
> control
Nope. Don't use that.
> this through my vb6 application so the warning does not appear.
>
> Any suggestions would be appreciated!!
Switch from CDO to CDO2000 and use SMTP instead of MAPI.