I am using the example code in the Active State documentation under the title, Is there a way to access MAPI from my Perl script?, at http://aspn.activestate.com/ASPN/docs/ActivePerl-5.6/faq/Windows/ActivePerl-Winfaq9.html#Is_there_a_way_to_access_MAPI_fr
This results are:
Win32::OLE(0.1601) error 0x80010106: "Cannot change thread mode after it is
set" at ..\code\b.pl line 69
eval {...} called at ..\code\b.pl line 69
Could not create a new MAPI Session: at ..\code\b.pl line 69.
The code up to this point with comments removed is:
my $sender = "...";
my $passwd = "...";
my $sendTo = '...';
use Win32::OLE;
use strict;
my $session = Win32::OLE->new("MAPI.Session")
or die "Could not create a new MAPI Session: $!";
Thanks to whomever responds.
_______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs