On 07/31/2007 01:32 PM Alexandru Stanoi wrote: > Derick Rethans wrote: >> On Mon, 2 Jul 2007, Alexandru Stanoi wrote:
>>> 3. I have found this: >>> http://www.tienhuis.nl/php-email-address-validation-with-verify-probe >>> >>> which performs a very advanced check (less in the regexp department, but >>> more in the MX department). Do we need this techniques for MX check, or >>> is a getmxrr() enough for it? >> I'd say we need it. However, we can not simply copy this guy's code. > Are we sure we need advanced MX checks? In this case we need a public > SMTP server (smtp.ez.no?) from which to try to send a test mail (RCPT > TO) to each host found when calling getmxrr(). Just when trying it the > second time on a Yahoo email address, I got this error: > > 421 Message from (85.19.74.66) temporarily deferred - 4.16.50. Please > refer to http://help.yahoo.com/help/us/mail/defer/defer-06.html > > That actually sounds like spam. So the question is: do we need to send a > test mail everytime we want to verify that an address is valid? > > There is also a question of execution time. It takes almost one second > to verify one address. This functionality is not meant to be used before sending out a newsletter to thousands of addresses, but while a new user registers. I asume the chance is rare that you will need to validate several Yahoo addresses then within a short time span. So I still consider this functionality very practical. Regards, Toby -- Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer [EMAIL PROTECTED] | eZ Systems AS | ez.no -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
