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
<kenh(_at_)pobox(_dot_)com>"
--Ken
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers