develooper Front page | perl.beginners | Postings from February 2002

Unable to Create MAPI Session

From:
pathi_erramilli
Date:
February 27, 2002 11:40
Subject:
Unable to Create MAPI Session
Message ID:
B11E1D6EB0D9D311B10600902740B8E204CB9116@xatl07.atl.hp.com



> When I try to create a MAPI Session I am getting the following error
> 
> Win32::OLE(0.1502) error 0x800401f3: "Invalid class string"
> 
> Please suggest...
> 
> Thanks in advance.
> 
> Pathi
> 
> Here is the code I have:
> 
> # Create a new MAPI Session
>     use Win32::OLE;
> $Win32::OLE::Warn=2 ;#Always warn with verbose error messages 
>     $session = Win32::OLE->new("MAPI.Session") or die "Could not create a
> new MAPI Session: $!";
> 
> 
> 
> 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About