use strict; my $sendmail = '/usr/lib/sendmail -t'; open (MAIL,"|$sendmail") || "Not working: $!"; print MAIL <<"EOF"; To: smith\@here.com From: jones\@here.com Subject: theSubject Information here etc EOF close MAIL || "Not working: $!";
In reply to Re^2: Sendmail no longer working
by Anonymous Monk
in thread Sendmail no longer working
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |