unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Igor Sosa Mayor <joseleopoldo1792@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to extract the email address from the From: header?
Date: Fri, 24 Oct 2014 22:12:06 +0200	[thread overview]
Message-ID: <87bnp1jkh5.fsf@gmail.com> (raw)
In-Reply-To: 87tx2tcjy2.fsf@indiana.edu

Allan Streib <astreib@indiana.edu> writes:

> Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:
>
>> "From" headers (or "To" ones, for that matter) are sometimes plain
>> email addresses and sometimes strings of the form "Real Name
>> <email@add.ress>".  I could write a function (or maybe even a regex)
>> to extract the email part in the latter case, but Emacs being Emacs,
>> I'm pretty sure something like that already exists.  Am I right?
>
> Have a look at bbdb-snarf.el

thanks! interesting...

-- 
:: Igor Sosa Mayor     :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::




  reply	other threads:[~2014-10-24 20:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 20:00 How to extract the email address from the From: header? Marcin Borkowski
2014-10-24 20:05 ` Allan Streib
2014-10-24 20:12   ` Igor Sosa Mayor [this message]
2014-10-24 20:37 ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnp1jkh5.fsf@gmail.com \
    --to=joseleopoldo1792@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).