On Tue, Mar 18, 2008 at 02:40:04PM +0100, Albert Shih wrote: > How can I write a "to hook script" ? > > For example : > > When I send a mail to X I want modify my From field > When I send a mail to Y I want modify my Reply_to field. > etc. Have a look at 'send-hook' and 'send2-hook' in mutt's documentation. David