On Fri, May 02, 2008 at 02:01:25PM +1000, david wrote:
> 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 [EMAIL PROTECTED] < /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 <[EMAIL PROTECTED]>' < 
> > /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: [EMAIL PROTECTED]" -s "subject line" -a 
> file
>         [EMAIL PROTECTED] < /dev/null
>         
> David.

It's good you got a fix but I thought it must be possible to
give the entire message like giving it to sendmail - because
you can 'E' on a draft and see / edit the entire message inclding
headers.

The man page mentions:

       -H draft
            Specify a draft file which contains header
            and body to use to send a message.


So that should work - if you know how to prepare a complete,
sensible header and body.

Matt






-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to