On comp.os.linux.misc, in <1161336206.49@user.newsoffice.de>,
"Ronald Fischer" wrote:
Hi Ron,
> I have a zsh Script which dynacmically sends out a status mail.
> The mail sent out contains Cc, Bcc and Reply-To headers and
> occasionally attachment.
>
> Right now I'm using mutt for this task, because it is very
> convenient to specify this information on the mutt command
> line, i.e.
>
> REPLYTO=rtaddr mutt -b bccaddr -c ccaddr -a attachment -s
>subject toaddr <body
>
> where body is the file containing a mailbody. This works very
> well so far.
>
> Now I would like to extend the application in that the
> email being sent also contains custom headers (such as
> X-Priority). There is no option where I can tell mutt to put in
> additional headers.
>
Oh yes there is!
mutt
foo@foo.net -s "foo" -e "my_hdr X-Priority: 23"
<snip>
Alan
--
http://home.earthlink.net/~alanconnor/contact.html
http://home.earthlink.net/~alanconno...val/index.html
http://home.earthlink.net/~alanconno...nix/index.html