Create a new Outlook mail object.
Returns the object on success or undef on failure.
To see the last error use 'Win32::OLE->LastError();'.

Note that when displaying or sending a message,
you MUST have completed the following fields:

To
Subject
Body

While the RFCs may let you send blank messages, it seems a rather pointless idea to me, and probably not what you intended. If you want to ignore this restriction, feel free to edit your copy of the source code and comment out or edit the appropriate line in _make_message().

Returns the current settings for the read only From field. Note that this is not an email address when used in connection with a new message. Returns a list containing the Name and Address of the user.

Due to some recent security patches within Outlook, Microsoft have disabled the automatic access to the Outlook OLE. As some spam and trojan scripts, as well as the usual executables, have been using the application for malicious uses, Microsoft have stepped in an attempt to block this. If these security patches have been applied, when the module accesses Outlook via the OLE, you will probably see one of the following messages, or something like them.

When the module attempts to retrieve the From address, a warning message box may appear. The text will be along the lines of:

A program is trying to access e-mail addresses you have
stored in Outlook. Do you want to allow this?
If this is unexpected, it may be a virus and you should
choose "No".
[ ] Allow access for [ --------- V]
[Yes] [No] [Help]

The message informs you that an unknown application is accessing Outlook and asks whether you wish to allow this. Click 'Yes' to allow the script to access the Outlook Address Book. Or you can set a time period, during which the script can access the Outlook OLE.

There are some minor items under "Issues" , but there are no known serious bugs at the time of this release.

However, if you spot a bug or are experiencing difficulties that are not explained within the POD documentation, please submit a bug to the RT system (see link below). However, it would help greatly if you are able to pinpoint problems or even supply a patch.

Fixes are dependent upon their severity and my availability. Should a fix not be forthcoming, please feel free to (politely) remind me by sending an email to barbie@cpan.org .