sharief has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks, I have a problem in this code where i am able to use only Microsoft Outlook but i am unable to use Outlook express this is my code.

use Mail::Outlook; use Win32::OLE::Const 'Microsoft Outlook'; my $outlook = new Mail::Outlook(); my %hash = ( To => 'you@example.com', Cc => 'Them <them@example.com>', Bcc => 'Us <us@example.com>, anybody@example.com', Subject => 'Blah Blah Blah', Body => 'Yadda Yadda Yadda', ); my $message = $outlook->create(%hash); $message->display(%hash);

My code does not works in the system which has only outlook express it works only with Microsoft Outlook 2003..2007

What would be the problem monks!

Replies are listed 'Best First'.
Re: Problem with Outlook
by Corion (Patriarch) on Jan 21, 2012 at 10:08 UTC

    Learn about the programs. Outlook and "Outlook Express" are completely different programs.