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

I am writing perl script to send email through MS Outlook express. But when Script tries to open OutLook , it display User Interactive screen. How to get rid of the Screen? my email id : shekar_300@123india.com

Replies are listed 'Best First'.
Re: Perl Script, MS OutLook
by davido (Cardinal) on Jun 08, 2004 at 15:17 UTC
    You ought to look at using a module that handles the mailing itself, and scrap the idea of using MS Outlook. What could Outlook be providing that you can't do without?

    I personally have had great results with MIME::Lite. It's available via PPM, so it's easy to install. The POD for that module gives examples that are clear to follow. And in a Windows environment where you don't have sendmail, it will even handle the transport itself.


    Dave

      I 2nd that, MIME::Lite is indeed a very cool and easy module to use.
Re: Perl Script, MS OutLook
by davidj (Priest) on Jun 08, 2004 at 15:13 UTC
    I would suggest that you bypass MS Outlook and use something like Mail::Mailer.

    davidj
Re: Perl Script, MS OutLook
by nimdokk (Vicar) on Jun 08, 2004 at 15:04 UTC
    As with many things with Perl, there is more than one way to do it. I think you might have better luck using some of the modules designed to send mail. Perhaps taking a look at this Q & A about sending mail from a Perl script would help you.