🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Validate an email address

#618
From: Remy Lebeau (TeamB)
Date: Mon, 22 May 2006 17:07
15 lines
1481 bytes
"Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> wrote in
message news:4471afcd$1@newsgroups.borland.com...

> How do I go about validating both the username and
> domain name parts of an email address?

You would have to use a DNS lookup to get the MX records of the domain.  The
MX records contain the IP addresses of the domain's SMTP servers.  You would
then have to connect to each server, issuing a VRFY command to each one,
until one of them reports success.  Do note, however, that some servers
dsable the VRFY command, unfortunately.


Gambit
Technical Details
Message-ID: <4471f14b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.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
References: <4471afcd$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,17527e99b2e1fdba
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <4471afcd$1@newsgroups.borland.com>
Subject: Re: Validate an email address
Date: Mon, 22 May 2006 10:07:52 -0700
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4471f14b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148318027 68.69.17.41 (22 May 2006 10:13:47 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.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