[prev in list] [next in list] [prev in thread] [next in thread]
List: mutt-users
Subject: Re: send-hook && set from
From: Mikko_Hänninen <Mikko.Hanninen () dna ! fi>
Date: 2000-04-27 11:09:28
[Download RAW message or body]
Adam Lazur <ajl4@EECS.Lehigh.EDU> wrote on Thu, 27 Apr 2000:
> The odd thing is, if I test email to plogic.com twice in a row, from
> _will_ change after the first time. Is there an issue with setting the
> from variable with a send-hook ?
Indeed, there is. You can set it but it won't affect the current
message, only messages afterwards. Use my_hdr From: (as suggested
by someone else already). You will probably want to also have a
unmy_hdr From: in a default send-hook.
Another thing is that $from is only the address, you still need to
set the name portion with $realname.
Mikko
--
// Mikko Hänninen, aka. Wizzu // wiz@iki.fi // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
The Bureau of Incomplete Statistics claims that 2 out of 3
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic