in reply to seeking sendmail enlightenment
open (MAIL, "| /usr/sbin/sendmail -t"); print MAIL <<EndMail; To: user\@host.com From: Mail Report Subject: $subj EndMail print MAIL `This is a test.\n`; print MAIL "\n.\n"; # A single period on its own line. close MAIL;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: seeking sendmail enlightenment
by spacewarp (Pilgrim) on Oct 01, 2002 at 21:04 UTC |