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

Re: to hook script



Hi Albert,

* Albert Shih <Albert.Shih@xxxxxxxx>, 2008-03-18 14:40:04 Tue:
> 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.

Do you mean something like the following?

send-hook . 'my_hdr from: default-from; my_hdr reply-to: default-reply-to'
send-hook X 'my_hdr from: x-from'
send-hook Y 'my_hdr reply-to: y-reply-to'

-- 
David Haguenauer

Attachment: pgphLU8xnx4Rj.pgp
Description: PGP signature