🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #616

Validate an email address

#616
From: Mark Jacobs
Date: Mon, 22 May 2006 12:37
15 lines
1243 bytes
How do I go about validating both the username and domain name parts of an 
email address?

For example (*not* real addresses) :-

hilary.jenkins@grossfahrt.com is valid
henry.johnson@grossfahrt.com is invalid
hilary.jenkins@grobfahrt.com is valid

TIA,
-- 
�
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
Technical Details
Message-ID: <4471afcd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,17527e99b2e1fdba,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII
From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Validate an email address
Date: Mon, 22 May 2006 13:37:33 +0100
Lines: 17
Organization: DK Computing
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 81.144.157.8
Message-ID: <4471afcd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148301261 81.144.157.8 (22 May 2006 05:34:21 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail