On Thu, Mar 10, 2011 at 09:40:17PM -0400, Monte Stevens wrote:
> On Thu, Mar 10, 2011 at 07:11:19PM -0600, Will Fiveash wrote:
> > 
> > I'm talking about when I create mail for a particular recipient I want
> > the Subject: set.  Like this:
> > 
> > $ mutt [email protected]
> > 
> > and when mutt launched my editor (vim) I would see in the message
> > template I'm editing:
> > 
> >  From: Will Fiveash <[email protected]>
> >  To: [email protected]
> >  Cc: 
> >  Bcc: 
> >  Subject: Expense Report #
> >  Reply-To: 
> 
> 
> OK, if you're calling mutt from a shell, you can replace 'mutt' with
> 'mutt.sh', where mutt.sh contains something like:
> 
> case "$1" in
> [email protected])
>   /usr/bin/mutt -s "Expense Report # " "$1"
>     ;;
> [email protected])
>   /usr/bin/mutt -s "Nice tie" "$1"
>     ;;
> esac

I thought about that but it's not a general enough solution because I
sometime create a new e-mail via a running mutt session (using the 'm'
command).

-- 
Will Fiveash

Reply via email to