- Create or buy an ActiveX/DLL that uses Extended MAPI to manage the creation of e-mails. The Outlook Security Model only effects 'Simple MAPI' functions not 'Extended MAPI' ones but unfortunately you can't directly interface with Extended MAPI functions from VB/VBA - hence the need for an ActiveX control or a DLL that would be written in a lower level language. Outlook Redemption is a popular DLL solution that uses Extended MAPI.
- Create or buy an application that simply presses the 'Yes' button after the elapsed 5 second delay. In my opinion this is a bad idea - but if you want to follow this route, have a search around the net.
- If using Outlook 2003, the VBA code stored inside of the VBA Project of Outlook is assumed to be "Trusted" - this then bypasses the warning messages - then you can call this VBA code using automation of Outlook.
Requirements :
Outlook 2003 (earlier versions of Outlook do not "trust" the VBA code inside the Outlook VBA Project)
Advantages :
- Doesn't need any DLLs or external libraries.
Disadvantages :
- You need to add some code to the VBA project inside of Outlook
- Outlook 'Macro Security' level must be set to LOW or MEDIUM
Bookmarks