[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Multiple From Addresses.
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] Multiple From Addresses. |
Date: |
Sat, 01 Oct 2016 17:14:18 -0400 |
>can you share that bit of mh-format magic? i'm sure it would work more
>cleanly than my current technique of running sed on the draft. :-)
Easy peasy:
%<{from}%?(getenv MH_FROM)%|%(void(localmbox))%>%(void(width))%(putaddr From: )
The {from} is there in case I want to use -from from the comp command line.
Obviously the environment variable is MH_FROM. And I have aliases like this:
% alias pobox
echo "Setting identity to pobox.com"; setenv MH_FROM "Ken Hornstein
<address@hidden>"
--Ken