boat73 has asked for the wisdom of the Perl Monks concerning the following question:
my ($server, $alias, $rconn) = @_; # connect to mailbox of CN $ +alias using server $server my $mapikey = "$server\n$alias"; my $err; my $session = Win32::OLE->new(qw(Win32::OLE->new(qw(MAPI.Session)) +)) or die Win32::OLE->LastError(); # Try to logon with dynamic profile under current account. # This may need a reasonable current CDO on your machine. my $mapi = $session->Logon(undef,undef,undef,1,undef,undef,$mapike +y); return $err if $err = Win32::OLE->LastError();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I disable popup error when creating a MAPI.Sessio?
by tokpela (Chaplain) on Mar 23, 2010 at 16:13 UTC | |
|
Re: How can I disable popup error when creating a MAPI.Sessio?
by sierpinski (Chaplain) on Mar 23, 2010 at 16:17 UTC |