mozilla-b2g/gaia — pull request #5966 by mozsquib (2012-10-23 21:47:42+00:00)
Title: Bug 798232 - Don't allow setting up a mail account with an invalid email address

r? @asutherland

This patch is pretty straightforward. I'm just using HTML5 form validation to check this. There may be a cleaner way to use form validation, but I went with the way that requires the least amount of code change.

(Corresponding BMO url: https://bugzilla.mozilla.org/show_bug.cgi?id=798232)