Actually Dennis, now I think about this some more I'm not sure even MAPI can get around this. I can get email addresses without the security prompts but the sending of the actual email prompts, I am sure the only way to get around this is either to be a trusted addin, or by using the security folder in Exchange Server.
As a side note Outlook 2003 has even security, the Body of an email cannot be accessed without MAPIX now. Sorry. You could ask Dmitry Streblechenko, he seems to be pretty much a MAPIX guru who I have asked on occasion for help with MAPIX, he would be able to answer you question one way or the other. Dmitry Streblechenko ([EMAIL PROTECTED]) Regards Jason Coley Manawatu Software Solutions email: [EMAIL PROTECTED] web: http://www.software-solutions.co.nz -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Chuah Sent: Thursday, 18 September 2003 10:12 a.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: Sending emails with Outlook Jason, I'm afraid you'd say that. I'll be grateful for your code snippets - they would be most helpful. Thanks, Dennis. ----- Original Message ----- From: "Jason Coley" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 8:40 AM Subject: RE: [DUG]: Sending emails with Outlook Ive been writing Exchange Extensions for a few years now and the only way that works and is guaranteed to work is using Extended MAPI, I could maybe send you some snippets of code that may help? Regards Jason Coley Manawatu Software Solutions email: [EMAIL PROTECTED] web: http://www.software-solutions.co.nz -----Original Message----- From: Dennis Chuah [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 7:29 a.m. To: Multiple recipients of list delphi Subject: [DUG]: Sending emails with Outlook Folks, I am currently using automation to send emails using Outlook (no, I am not writing the next killer virus) and it works fine. But with the security upgrade and Outlook 2002, Outlook pops up a series of confirmation dialog boxes (presumably to allow the user to stop virii from using Outlook to propagate). This also happens if you try to do a mail merge from Word. I have searched Google and some of the workarounds are: 1. Disable the security feature in Exchange - No! 2. Use a USD199 Active-X component that reputedly blocks the messages - it blocks the messages but does not seem to send the email - Duh! 3. Use extended MAPI - complex and convoluted API, as a last resort? I cannot use SMTP because it is an optional install on exchange servers and some people see it as a security hole. Any other ideas, anyone? TIA, Dennis. ------------------------------------------------------------------------ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
