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

Re: sendhook



On 2005-07-25 15:28 +0200, messmate@xxxxxxx wrote:
> is there a way ( or doc about sendhook) to set my from header when
> replying to a mail addressed to foo@bar ? 

I wouldn't use a send-hook for that purpose, but rather a
message-hook. Try something like:

message-hook '~t foo@bar' 'set from=myself@xxxxxxxxxxxxx'

Remember to add a default hook to reset the from address as well.

-- 
Michael Kjörling, michael@xxxxxxxxxxxx - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* ..... No bird soars too high if he soars with his own wings ..... *

Attachment: pgp4LHAB3u8SJ.pgp
Description: PGP signature