[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OlE Automation with Perl



I wrote a script in Perl which displays the Outlook Folders but now it is
showing 
all the folders along with their subjects but it is not showing the new
messages.
i have done the same thing in VB.net .There it worked 
but i m nt getting the syntax same as 


' Get NameSpace and Logon.
 Dim appNameSpace As Microsoft.Office.Interop.Outlook.NameSpace =
app.GetNamespace("MAPI")
   appNameSpace.Logon("Outlook", "bhavna123", False, True)

I got the syntax for 
Dim appNameSpace As Microsoft.Office.Interop.Outlook.NameSpace =
app.GetNamespace("MAPI")
i.e.my $namespace = $Outlook->GetNamespace("MAPI");

But the problem is I m nt getting the syntax as 
 appNameSpace.Logon("Outlook", "password", False, True)

Kindly please help me.
-- 
View this message in context: http://www.nabble.com/OlE-Automation-with-Perl-tf2951739.html#a8255332
Sent from the debian-perl mailing list archive at Nabble.com.



Reply to: