nmh-workers
[Top] [All Lists]

Re: [nmh-workers] Additional things

2019-09-30 10:09:16
Ken Hornstein <kenh@pobox.com> wrote:
    >> What does friendly{} do exactly?
    >> mh-format just says "user-friendly rendering".

    > Hm, I guess we should improve that documentation a bit.

    > If there's a "personal name" (Anything before <>), then it will return
    > that.  If there's no personal name but there IS a "note" (comments
    > string AFTER an email address), it will return that.  If there is neither
    > of those, it will try to parse the email address as an X400 directory
    > name and try to extract out a few of the fields from it to return.
    > If that fails it will just return the bare email address.  Basically,
    > it's trying to take it's best guess as to what is the real name in an
    > email address.

Thanks.

I think that maybe the X400 part could get ripped out as dead code? :-)

Not sure how to do a pull-request with savannah.

https://github.com/mcr/nmh/commit/e9d8f9d13bb4396be20832b2c1ec003f3edbe9ed

Attachment: signature.asc
Description: PGP signature

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>