Hi Eric,

I know that problem too well. Unfortunately the Doctrine model and the
forms framework use two different validators. The forms validator
(symfony) only checks for validity of the email address format, while
the Doctrine model validator does also check whether the domain name
exists.

You can disable checking of the MX record in your schema[1]:

email:    { type: string(255), email: { check_mx: false } }


Bernhard

[1] 
http://www.doctrine-project.org/documentation/manual/1_1/en/data-validation#examples:email

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to