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

My company uses ms exchange. I would like to send out emails through perl. Are there any modules out there for exchange - or any general direction I should head to find our more info. Eli

Replies are listed 'Best First'.
(jcwren) Re: sending email
by jcwren (Prior) on Mar 21, 2001 at 06:46 UTC

    I don't know about Exchange specific modules, but Exchange can be setup to act as a SMTP server. You might consider setting it up to only accept SMTP connections from internal machines, and using modules like MIME::Lite, Net::SMTP, Mail::Sendmail, and friends.

    --Chris

    e-mail jcwren
Re: sending email
by djw (Vicar) on Mar 21, 2001 at 17:30 UTC
    I administrate an MS Exchange box and I have looked around for some Exchange modules but haven't found any. But like they said above, you can install the smtp connector and use any of the Perl Mail modules to send mail.

    If you aren't sure if your Exchange server has the smtp connector installed, just telnet to the Exchange box on port 25, if you get a response like this:

      220 exchangeserver ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2650.21) ready
      250 OK
    Then you know you have it. Same goes with POP, just telnet to port 110.

    Now, if you want to send mail within your organization (from exchange box to exchange box) and want to use some of the Exchange features, then I think you are out of luck. MS uses .X400 for talking between Exchange boxes and I'm not sure how closely they followed the standards for that.

    If I had more time I would love to start some Exchange modules.

    sigh.

    Thanks,
    djw
Re: sending email
by damian1301 (Curate) on Mar 21, 2001 at 07:34 UTC