Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Trouble using Mail::Outlook

by ColonelPanic (Friar)
on Dec 04, 2012 at 09:57 UTC ( #1007042=note: print w/replies, xml ) Need Help??

in reply to Trouble using Mail::Outlook

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

Replies are listed 'Best First'.
Re^2: Trouble using Mail::Outlook
by PerlRocks6345 (Novice) on Dec 04, 2012 at 10:43 UTC

    Hey thanks a lot for your suggestions..My project requires outlook to be integrated to sent mail.My code worked I had to enable "send and receive all folders" in my outlook. It installed pretty well my me, try installing using

     cpan install Mail::Outlook


    cpan i Mail::Outlook

    from your command line.Thanks a lot for your suggestions

      Outlook is an email client, why not send emails directly to the target mail server from your script using something like MIME::Lite? As has been explained to you, the Outlook application is not necessary to send emails. Nobody suggested that Mail::Outlook would not install, rather that it hasn't been updated for years, has known bugs and may not work as expected with the version of Outlook you are running.

      I'm glad to hear that you got it working. I did use CPAN to install--not sure why it failed, but I didn't spend too much time looking into it.

      When's the last time you used duct tape on a duct? --Larry Wall

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007042]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-01-19 00:18 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (215 votes). Check out past polls.