Bypassing the Outlook Security Popups when sending mail through application
I have developed an application in VC++ that has a certain mailing feature. The user can send multiple mails to some id using this feature by a single button click. The problem is that the Outlook Security popup appears each time a third party tool is trying to send a mail and once can proceed only on the click of OK button on this popup.
This would render my application useless. Hence, I used another third party app called ExpressYesClick. This application automatically clicks the Yes button on the Outlook generated security popup.
This was alrite as a temporary solution. But this has its inherent drawbacks.
(1) This still slows down the application considerably when I am sending something like 1000 mails at a time.
(2) The user is able to see flickering security popups when the ExpressClickYes utility is working on Clicking the yes button. Hence, till the time the mails are being sent, the Outlook security popup keeps flickering on the monitor. This would be very irritating for the end user.
I am looking for code in MAPI or Extended MAPI through which I may be able to send a mail while bypassing the Outlook security altogether. Some code to send a mail using VC++ that does the job without Outlook throwing the security alerts.
Can anybody help me out with the code in MAPI or Extended MAPI for the same?
Thanks
Sharat
(Note : If u wanna know what popup i get from Outlook, it is the one that says --
"A program is trying to send a mail from Outlook on your behalf. Do you want to allow this? If this is unexpected, this may be a bug and you should choose NO."
And there are three buttons on the popup -- YES, NO and CANCEL.)

