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

use Perl Log In

Log In

[ Create a new account ]

gav (2710)

gav
  (email not shown publicly)
http://www.estey.com/
AOL IM: flufflegavin (Add Buddy, Send Message)

Hacker in NYC.

Journal of gav (2710)

Thursday February 12, 2004
05:17 PM

Bugzilla

[ #17382 ]

It's nice when things do this:

open SENDMAIL, "|/usr/lib/sendmail -t -i";
print SENDMAIL $message;
close SENDMAIL;

Especially as my sendmail was in /usr/sbin.

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
  • the MailTools package, I've always thought was quite nice. I've used Mail::Mailer on a number of occasions.