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

Re: Test condition for 'unset record'



* Kyle Wheeler (kyle-mutt@xxxxxxxxxxxxxx) wrote:
> On Friday, August  5 at 02:20 PM, quoth John J. Foster:
> >What I'm looking for is basically:
> >
> >folder-hook if ~l then unset record else set record=sent_folder
> 
> I use this:
> 
>    send-hook . 'set record="=Sent"'
>    send-hook ~l 'set record='
> 
> Using a folder-hook doesn't exactly make sense, because what folder 
> you're in doesn't *really* have anything to do with sending mail. Why do 
> you want to use a folder-hook? (Hint: folder-hook patterns match on the 
> name of the folder, not the contents of the messages inside the folder)

Here's my solution:  fcc-save-hook ~l /dev/null


Sincerely,

Ian Wat

-- 
                                            _
 Ian J Wat                                 ( )   ASCII ribbon campaign 
 http://www.lynxmann.net                    x    against HTML email
 PGP key: 0xAD265399                       / \ 

Attachment: signature.asc
Description: Digital signature