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. -- Alexandru Stanoi eZ Components System Developer eZ Systems | http://ez.no -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components