help-gnu-emacs
[Top][All Lists]
Advanced

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

How to extract the email address from the From: header?


From: Marcin Borkowski
Subject: How to extract the email address from the From: header?
Date: Fri, 24 Oct 2014 22:00:45 +0200

Hi list,

"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?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



reply via email to

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