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

Re: use_from (was Re: your mail)



Hi Will,

 On Monday, August 1, 2005 at 10:12:57 AM -0700, William B. Yardley wrote:

> what's the point of having both "$from" and "$use_from"?

    A tristate and the useless:

 · With both unset: No "From:" field.

 · $from set but $use_from unset: No "From:" field.

 · $from unset but $use_from set: "From:" is generated using some system
default. "username@xxxxxxxxxxxxxxxxxxxxx" generally. AFAICS not
documented. Default, unless Debian.

 · Both set: You get what you set.

    Note env var EMAIL can implicitly populate $from, jumping from case
3 to 4 behind your back. And "my_hdr From:" overrides everything.


> I know that having to set $use_from is something that's confused a lot
> of folks.

    What do you want? Offering tristate with only $from: Unset, empty
string, and set?


Bye!    Alain.
-- 
Mutt muttrc tip to send mails in best adapted first necessary and sufficient
charset (version for Western Latin-1/Latin-9/CP-850/CP-1252 terminal users):
set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"