Dan Boger <[EMAIL PROTECTED]> wrote on Thu, 05 Oct 2000:
> FWIW, I've been trying to do something very similar... mutt 1.2.5i
>
> send-hook . 'set [EMAIL PROTECTED]'
> send-hook .*lugnet\.com 'set [EMAIL PROTECTED]'
>
> from what I can tell, the send hook DOES work, only AFTER I actually send
> the mail... so if I write a mail to [EMAIL PROTECTED], my from is "[EMAIL PROTECTED]",
> but the next mail is from "[EMAIL PROTECTED]"...
>
> what am I missing?
You can't use "set from" to change the current message's From header.
It is *only* used as a default from header value for new messages
(new mails and replies too unless $reverse_name comes into effect).
If you want to set the From header from a send-hook, you must use
"my_hdr From:".
Regards,
Mikko
--
// Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
ST, DS9: FRofA #1: Once you have their money ... never give it back.