Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.os.linux.misc,comp.lang.php Subject: Re: testing email deliverability... Date: Mon, 09 Jun 2014 11:30:31 +0200 Lines: 33 Message-ID: <53957EB7.9000405@arnowelzel.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: individual.net iciyQll7WWWjATDv5cM2NgkNfs9UVzWcu1EG/L//1yRhQH29HA Cancel-Lock: sha1:Q6fxWhIBQ9dM90UFheF9U4QMKQw= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-Enigmail-Version: 1.6 Xref: csiph.com comp.os.linux.misc:11228 comp.lang.php:13806 Eli the Bearded, 2014-06-05 06:53: > In comp.os.linux.misc, Tony Marston wrote: >> "The Natural Philosopher" wrote: >>> I want to make sure that anyone using them has a valid reply address set in >>> a web form BEFORE I forward the message on to the site administrators. > > I'd like to verify that the lottery number is going to win before I buy the > ticket. Unfortunely I don't think either of us is going to be happy. > >>> is_valid_mail("user12345@gmail.com") > > Did you think that you are the first person to want this? Think how useful > it would be for spammers to find new email addresses before sending email! > >> You can use the filter_var() function at >> http://uk3.php.net/manual/en/function.filter-var.php to check that an email >> address is syntactically valid, but you cannot check that an email exists >> without sending an email and getting a response back. > > I have NEVER seen a "syntactically valid" check that really works. The This one should: -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de http://fahrradzukunft.de