Is there any python function that validates E-mail addresses, aware of IDN domains ?
For instance, user@example.com should be as correct as user@zääz.de or user@納豆.ac.jp
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Django supports IDN email validation as of version 1.2.
See the code for validation here: http://code.djangoproject.com/svn/django/trunk/django/core/validators.py
Reference: http://docs.djangoproject.com/en/1.2/ref/forms/fields/#emailfield
Example:
You may need to define some environment settings before you can use Django modules, see documentation here: http://docs.djangoproject.com/en/dev/