Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Repeat after me... MIME::Lite.

    -Dom

    • I'm more of a Mail::Sendmail person :)
    • I have to ask...

      What is the advantage of MIME::Lite if you have Sendmail ?

      (What advantages other than cross platform.)
      • >What is the advantage of MIME::Lite if you have Sendmail ?
        • All kinds of MIME based shenanigans: attachments, HTML email etc.
        • Send via SMTP, no need to worry about the implications of using another program
        I like to use Mail::Sendmail if I'm just sending plain text emails, or MIME::Lite otherwise.
        • Because it knows where sendmail lives, unlike the posted code.
        • Because it can use SMTP when your script ends up on a box that doesn't have it.
        • Because it generally has a much cleaner interface to sending mail.

        -Dom

        • Thanks for the reply.

          I do use MIME::Lite and just wanted a reminder.

          FWIW I've got about 13 machines that run cron jobs and dump their info into a database, and then another cron job that runs later and generates a nice report and emails it.

          And, I used MIME::Lite for the email functionality. Especially since the machine it is on does NOT have sendmail.

          Well... the email server has been flaky and... if it isn't running when it is time to sent the email, then they simply don't get an email.

          They don't like