[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] perl script-generated sendmail headers
- Subject: Re: [cobalt-users] perl script-generated sendmail headers
- From: Tim Dunn <tdunn@xxxxxxxxxxxxxxxxxxx>
- Date: Sun May 26 20:23:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> my script to use your syntax suggestion. Here's the sub that I'm using now:
>
> open MAIL, "|/usr/sbin/sendmail -t -i -fuser\@myserver.com";
> print MAIL "To: $to\r\nFrom: $from\nSubject: $subject\n\n$message\n\n";
> close MAIL;
If you're opening a pipe to sendmail, what is your $from variable?
tim
--
Mechanical Engineers build weapons. Civil Engineers build targets.