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

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

Re: How do I check if the format of an email address is valid?


From: Reiner Steib
Subject: Re: How do I check if the format of an email address is valid?
Date: Thu, 30 Mar 2006 16:16:26 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Thu, Mar 30 2006, Lennart Borgman wrote:

> How do I do this in Elisp?

How do you define a "valid email address"?

(a) Valid according to RFC2822?

(b) Valid in the sense of the given domain exists, can receive mail
    and the localpart corresponds do a mailbox?

(c) Something different?

For (a), the variables `gnus-button-mid-or-mail-regexp',
`gnus-button-valid-localpart-regexp' and
`gnus-button-valid-fqdn-regexp' in `gnus-art.el' contain some related
checks.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

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