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

send-hook not working



Hi.

I'm using more than one account, specifically I'm using googlemail
via POP3 and I'd like to make it so that mail addressed to my googlemail
account gets the correct From: header set in replies.

I have the following:

send-hook . "my_hdr From: defaultaccount@xxxxxxxxxxx"
send-hook "~C artifact.one@xxxxxxxxxxxxxx" "my_hdr From:
artifact.one@xxxxxxxxxxxxxx"

Am I missing something here? Replies always just get the defaultaccount@
example.com address.

One thing: I have another send-hook statement further down in the file
to deal with PGP, is this likely to affect the previous statement? Can
there be multiple send-hooks in this way?

The statement is:

send-hook . unset pgp_autoencrypt

thanks,
MC