[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in mail-extract-address-components (mail-extr.el)?

From: Jesper Harder
Subject: Re: Bug in mail-extract-address-components (mail-extr.el)?
Date: Mon, 23 Sep 2002 14:57:27 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu)

Reiner Steib <address@hidden> writes:

> Recently I noticed, that the function fails for the following From:
> line (which seem to be correct according to RFC-822):
> | From: "Harald H.-J. Bongartz" <address@hidden>
> Instead of "Harald H.-J. Bongartz" I get "Harald H.":
> Is this a bug in `mail-extract-address-components' or should I use a
> different function to get the full name?

In this particular case `gnus-extract-address-components' works better:

(gnus-extract-address-components "\"Harald H.-J. Bongartz\" <address@hidden>")
==> ("Harald H.-J. Bongartz" "address@hidden")

But usually `mail-extract-address-components' is more reliable (but also
really complicated).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]