<<< Date Index >>>     <<< Thread Index >>>

Re: Automatically fill TO: based on folder



* steve <dlist@xxxxxxxxxx> [2008-08-27 14:37]:
> Hi all,
> 
> When creating a new message I would like mutt to fill the TO: field
> based on the directory in which I am curretly in. 
> 
> Say I'm in 
> 
> Familly/joe
> 
> (maildir format)
> 
> and I press m, mutt should put joe's address in the TO: field.
> 
> Is this possible? If yes how can I achieve this?
> 
> Thanks in advance
> steve

Have a look at 'folder-hook' ...

http://www.mutt.org/doc/devel/manual.html#folder-hook

HTH
Stefan

Attachment: pgpjGBFEiICOn.pgp
Description: PGP signature