How to send emails programmatically using MAPI calls without user confirmation
Posted on 2008-06-17
I'm working on a software which needs to send emails. I plan to use MAPI calls to do this (precisely, I want to use the PowerBuilder mailSession object which is based on MAPI).
This however requires the user to confirm that the program is allowed to send the email, each time that a MAPI call is done.
Is it possible to disable this? I found some software to do that (ClickYes and Outlook Security Manager) but I would prefer a solution which does not require buying an extra software.
I didn't found much information by myself and I don't know much about MAPI yet.
Some information about the "context":
1) The software will be running as a service, in the background -- so without any user. This is why I really need to shut off these security settings.
2) The email client is Outlook, the server is Exchange. Other email protocol could be used in the future, but this is no strong requirement at the time
3) The users have strong security requirements. It would then be much better if the security warnings could be disabled for this software only but still appear in case another software tries to send an email.
Thanks a lot!