SPUG: sending emails

Jeremy Mates jmates at sial.org
Wed Feb 21 20:15:36 PST 2007


* luis medrano <lmzaldivar at gmail.com>
> open (MAIL, "|/usr/sbin/sendmail -t ");
>         print MAIL "From: posting\@mailserver\n";
>         print MAIL "To: $line\@mailserver\n";
>         print MAIL "Content-Type: text/plain\n";
>         print MAIL "Subject: $title\n\n";
>         print MAIL "@content";

Ugh!

http://sial.org/howto/perl/sendmail/



More information about the spug-list mailing list