On 01/05/08 13:07:50, david wrote: > I'm using mutt in a script to send out emails. > > $ mutt -s "subject" -a file [EMAIL PROTECTED] < /dev/null > > Is there any way to add a Reply-To: header? I can't > find it in google or man mutt. > > Is there any other scripted way of doing it? > Preferably bash.
I don't use mutt but some MUAs (eg, msmtp, E-MailRelay) treat the first paragraph of body text, if the para contains only Headers that are properly formatted, as headers. I frequently use bash to either splice in some headers or expand existing headers (eg, to expand "[EMAIL PROTECTED]" to "John Smith <[EMAIL PROTECTED]>") with the two mail clients mentioned above. Robert Thorsby MSOOXML - Not the best standard money can buy. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
