Re: send-hook my_hdr unknown variable
Hello,Joseph <syscon@xxxxxxxxxxxxx>!
* You wrote on Sun, Oct 07, 2007 at 11:15:29PM -0600:
> Is there a limit how many variable I can assign to a hook?
> I have below:
>
> send-hook . 'unmy_hdr From:'
> send-hook '~t ^xxxx@xxxxxxxxx' 'set signature=~/.mutt/signature-personal'
> 'my_hdr From: Joseph <xxxxx@xxxxxxxxxxxx>
>
> The signature part is working but my_hdr gives me "unknown variable"
> when I try to compose a message.
This works for me:
send-hook . 'my_hdr from:shen xiaofei<shen@xxxxxxxx>;set
signature="~/.mutt/signature"'
send-hook '! ~t .*' 'my_hdr from:bugip <bugip@xxxxxxx>;set signature='';set
record='''
send-hook ~l 'set signature='''
>
> --
> #Joseph
> GPG KeyID: ED0E1FB7