When creating a new user, the email field would not accept a .ca domain. I have to create the user with a wrong domain and edit the user later to change it back to the readl domain.
Comments: This regex will not work with international domain names and it will not work with quoted local part For example this is a perfectly valid email according to the rfc: "hello world"@rågär.se If using regex, go tor the extremely simple, like checking for something @ something. Anything beyond that and you will get false negatives. A comprehensive regex capable of most emails exceeds 8000 chars and will not work with international domains ;) We use Cobsi EmailVerify, which should handle all valid emails, they worked 6 months before passing our tests ;)
Comments: This regex will not work with international domain names and it will not work with quoted local part For example this is a perfectly valid email according to the rfc: "hello world"@rågär.se If using regex, go tor the extremely simple, like checking for something @ something. Anything beyond that and you will get false negatives. A comprehensive regex capable of most emails exceeds 8000 chars and will not work with international domains ;) We use Cobsi EmailVerify, which should handle all valid emails, they worked 6 months before passing our tests ;)