Linux email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx -O
NoRecipientAction=add-to
recipient@xxxxxxxxxx

or

cat messagebody.txt | mail -s "test message" recipient@xxxxxxxxxx


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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux