- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] mutt Reply-To:
- From: Robert Thorsby <robert@xxxxxxxxxxxxxx>
- Date: Thu, 01 May 2008 13:24:22 +1000
- Reply-to: robert@xxxxxxxxxxxxxx
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 user@host < /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 "user@host" to "John Smith
<user@host>") with the two mail clients mentioned above.
Robert Thorsby
MSOOXML - Not the best standard money can buy.