Timeline for E-mail testing code
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 8, 2015 at 16:33 | vote | accept | Pablito | ||
Sep 8, 2015 at 16:34 | |||||
Sep 7, 2015 at 15:56 | answer | added | Pablito | timeline score: 0 | |
Sep 4, 2015 at 7:21 | comment | added | kasperd | I would also check if the entered address is too long. The maximum length for an email address is 256 characters. | |
Sep 3, 2015 at 16:33 | vote | accept | Pablito | ||
Sep 8, 2015 at 16:33 | |||||
Sep 3, 2015 at 11:31 | comment | added | linac | And just to show how bad the situation is: There are working email addresses in use out there, that do not comply to any RFC. Not every email provider implemented this check correctly before issuing addresses to their customers ... | |
Sep 3, 2015 at 11:23 | answer | added | Stefan B. Christensen | timeline score: 1 | |
Sep 3, 2015 at 10:37 | history | edited | 200_success |
edited tags
|
|
Sep 3, 2015 at 9:40 | comment | added | Pablito | Was this a normal question or is it off-topic here? It's my first and I don't wanna mess it up :) | |
Sep 3, 2015 at 5:26 | history | tweeted | twitter.com/#!/StackCodeReview/status/639308495767142400 | ||
Sep 3, 2015 at 4:03 | comment | added | ta.speot.is |
I use C# so I can use EmailAddressAttribute directly, but Microsoft has a very nice Regular Expression you can look at here: referencesource.microsoft.com/…
|
|
Sep 3, 2015 at 2:03 | answer | added | Phrancis | timeline score: 17 | |
Sep 3, 2015 at 1:02 | answer | added | h.j.k. | timeline score: 14 | |
Sep 3, 2015 at 0:52 | comment | added | h.j.k. | RFC5321, RFC5322 and RFC6531, have fun! :) | |
Sep 3, 2015 at 0:42 | answer | added | Ethan Bierlein | timeline score: 8 | |
Sep 3, 2015 at 0:18 | comment | added | Jeroen Vannevel |
I can be very brief here: don't. Of all the assumptions you've made here, only one is correct: there has to be an @ in the email address. Otherwise: it can have multiple dots, it can have no dots, it can have no TLD, it can have no domain, it can have IP addresses as domain, it can have quotes, it can have spaces, etc. When validating emails the correct approach is to check for the presence of an @ and hope for the best. You can always try to send an email and see if it bounces back.
|
|
Sep 3, 2015 at 0:16 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 24 characters in body; edited title
|
Sep 3, 2015 at 0:12 | review | First posts | |||
Sep 3, 2015 at 0:29 | |||||
Sep 3, 2015 at 0:09 | history | asked | Pablito | CC BY-SA 3.0 |