Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send mail using MAPI

Status
Not open for further replies.

Gigatech

Programmer
Jul 12, 2000
80
CR
I use D7 and MS-Outlook 2003. I send mails using the MAPIMAIL unit (as described in FAQs). It works fine, but before I send the mail, Outlook ask me for a confirmation (it tells that another program is trying to send an email and it may be a virus ... bla, bla, bla). How can I skip this confirmation? (I set the PreviewMsg parameter to False to send the mail directly)
Thanks.
 
You can't override this with Delphi - this is because Outlook's behaviour was designed specifically to prevent programs from doing mass mailings that may be without the user's consent (trojans, worms, etc).

The best you can do is try to disable this feature in Outlook - try googling on it.
 
do you know how to disable this feature in Outlook?
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top