comp.lang.ada
 help / color / mirror / Atom feed
From: Alfred Hilscher <Alfred.Hilscher@icn.siemens.de>
Subject: Re: Checking validity of an e-mail
Date: 2000/05/18
Date: 2000-05-18T00:00:00+00:00	[thread overview]
Message-ID: <39240A70.CBF62B97@icn.siemens.de> (raw)
In-Reply-To: F1RU4.72$3y.179291@nnrp4.proxad.net



Christophe Gouiran wrote:
> 
> Hi, I want to create a procedure that checks the validity of an e-mail.
> Not only to check the syntax validity but also to check if this mail is a
> real mail (ie when you send an email to it someone receives your message)

1. Check the domain. This is possible by an DNS Query.
2. Check whether the user exist. This should be impossible. There is no
way to look which users are known within a specific mail server. The
only thing you can do is to send a mail, and wait whether you get a
"unknown user" response.

> So, someone knows how to, given an e-mail adress, check it.
> At least, do you know how to go from the email adress to the mail-server ?

This is done by DNS query (query type "MX" = domains mail exchange) with
the domain name.




  reply	other threads:[~2000-05-18  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-18  0:00 Checking validity of an e-mail Christophe Gouiran
2000-05-18  0:00 ` Alfred Hilscher [this message]
2000-05-18  0:00   ` GtkAda and OS/2 Derek
2000-05-18  0:00     ` David Starner
2000-05-21  0:00     ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox