|Think about Loose Coupling|
Re: Trouble using Mail::Outlookby ColonelPanic (Friar)
|on Dec 04, 2012 at 09:57 UTC||Need Help??|
My first thought is: what are you trying to do, and can you do it without calling Outlook?
Outlook varies greatly between versions. Some versions are very buggy, as I have learned by painful experience (I tried to automate some Outlook functions through VB, only to encounter showstopper bugs in Outlook that killed the entire project). In addition, the Mail::Outlook module has not been updated in several years. That is bound to be problematic as new versions of Outlook come along.
Here are some other options for sending email:
This discussion of sending email from Windows, though old, might still be useful.
In my opinion, unless your task specifically requires Outlook, you will probably do better with a non-Outlook solution.
Addendum: I did try to install Mail::Outlook and test your code, but the module installation failed. Does this prove my point or only my own laziness? You decide.
When's the last time you used duct tape on a duct? --Larry Wall