  | |  | Linux email | Linux email 2004-02-11 - By Jason Dale
Back
Hi,
This is not really a Linux OS question per se, but it involves just sending mail from the command line on a Linux system.
I use the following two methods:
/bin/cat messagebody.txt | /usr/sbin/sendmail -f myself@(protected) -O NoRecipientAction=add-to recipient@(protected)
or
cat messagebody.txt | mail -s "test message" recipient@(protected)
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?
Thanks,
Jason
-- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |