- To: John Clarke <johnc+slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] mutt Reply-To:
- From: david <david@xxxxxxxxxxxxx>
- Date: Fri, 02 May 2008 14:01:25 +1000
- Cc: slug@xxxxxxxxxxx
- Reply-to: david@xxxxxxxxxxxxx
On Thu, 2008-05-01 at 13:16 +1000, John Clarke wrote:
> On Thu, May 01, 2008 at 01:07:50 +1000, 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
>
> This might work:
>
> mutt -s "subject" -a file -e 'my_hdr Reply-To <user@host>' < /dev/null
>
Thanks for the replies. This works fine. It also works if you drop the
quoted -e argument into .muttrc
$ mutt -e "my_hdr Reply-To: user@host" -s "subject line" -a file
another_user@host < /dev/null
David.