Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / January 2006



Tip: Looking for answers? Try searching our database.

Outlook automation from vb6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Haynes - 16 Jan 2006 11:04 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
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.