Validating an email address
Tim Williams (gmail)
tdwdotnet at gmail.com
Fri Dec 9 19:59:28 EST 2005
On 09/12/05, Ben Finney <bignose+hates-spam at benfinney.id.au> wrote:
>
>
> The only validation you should be doing before sending the message is
> on the domain part. Since there are records available in DNS to
> verify, you can check those. Is there an MX record? Is the address
> valid? Do the mappings both way for that record make sense?
Agreed, BUT !!!
An MX record is not required by RFCs, a single A record should be tried if
there are no MX records. And the sending server's PTR doesn't have to match
its hostname(s), nor the domain in the email address
HTH :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051210/ea050ff9/attachment.html>
More information about the Python-list
mailing list