From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4cd0e7b877375798 X-Google-Attributes: gid103376,public From: Alfred Hilscher Subject: Re: Checking validity of an e-mail Date: 2000/05/18 Message-ID: <39240A70.CBF62B97@icn.siemens.de>#1/1 X-Deja-AN: 625018581 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Siemens AG Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-18T00:00:00+00:00 List-Id: 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.