Chris Cappelletti wrote:

I have a perl program that sends email via win32-ole cdo.
I started having the 2 dialogs since "upgrading" :-( to outlook 2003.
The dialogs read:




Here's the situation. If I remember correctly (and I probably don't)
there are three normal ways to use MAPI to send email.


1. Outlook object Model
2. Some way that I forget (this is the CDO method [I think])


Yes this is cdo or automation which is accessable from Win32::OLE

3.  MAPI



Yes the mapilogonex func in the mapi api takes a mapi_extended flag which seems to prevent the dialogs.

Option 1 and 2 are now officially locked with 2003. They are
unfortunately the only way you can access MAPI email from scripting
languages (that I know of). Option 3, well I hope you're a good C
programmer.


My solution:  I paid $195 (or something like that) for a dll file called
Redemption.  I can look up more info if you can't find it with a google
search.  Some guy (who really knows MAPI) wrote it and he gets around
all the security that 2003 uses.  I'm pretty sure that it supports
IDispatch so you can use Win32::OLE to access it.



I installed it and havent figured out how to adapt my perl program to use it yet.

There is also a "click" solution. Basically it is a program that runs in the background and clicks the dialogs for you. It happens so fast you dont even see the dialogs popup.

Another solution I havent tried yet:
If I can write a C program to access the email with extended mapi shouldnt I be able to use perl win32api to call any C api?


bob

Hope that helps.


_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to