🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Validate an email address

#620
From: Mark Jacobs
Date: Mon, 22 May 2006 21:44
24 lines
2215 bytes
Remy Lebeau (TeamB) wrote:
> "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.

Thanks. I found out that our server does not support the VRFY command, and 
I'm wondering what proportion of SMTP servers do? I also note that some act 
as relays to *any* request from anywhere (I won't publish the host of one in 
particular  :-) ). In my experience, there is still no guaranteed way of 
validating an email address, because, just this luch-time, the DNS server 
was timing out, as our execs played a LAN shoot 'em up! That's difficult to 
program for, unless you know their "timetable" in advance. ;-)
-- 
Mark Jacobs
http://jacobsm.com 
Technical Details
Message-ID: <447230b2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4471afcd$1@newsgroups.borland.com> <4471f14b$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
Reply-To: "Mark Jacobs" <www.jacobsm.com/mjmsg.htm?Borland Newsgroup>
From: "Mark Jacobs" <www.jacobsm.com/mjmsg.htm?Borland Newsgroup>
Newsgroups: borland.public.cppbuilder.internet.web
References: <4471afcd$1@newsgroups.borland.com> <4471f14b$1@newsgroups.borland.com>
Subject: Re: Validate an email address
Date: Mon, 22 May 2006 22:44:21 +0100
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 195.137.123.182
Message-ID: <447230b2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148334258 195.137.123.182 (22 May 2006 14:44:18 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail