  | |  | Linux email | Linux email 2004-02-11 - By John Haxby
Back Jason Dale wrote:
>The problem is that with the sendmail option, I can change the 'from:' >address >but I can't change the subject line. With the 'mail' command, I can change >the subject line but I can't change the darn 'From:' address. Does anyone >know of a SIMPLE way that I can do both? > >
(echo "Subject: test message"; echo; cat messagebody.txt) | /usr/sbin/sendmail \ -f myself@(protected) -O NoRecipientAction=add-to recipient@(protected)
If you're using somehing like perl, python, tcl or C, then there are SMTP libraries that will let you do whatever you please with originators, recipients and headers.
jch
-- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |