Skip to main content

Timeline for Parsing an email string

Current License: CC BY-SA 3.0

17 events
when toggle format what by license comment
Jan 17, 2023 at 8:26 answer added pavok timeline score: 1
Mar 2, 2018 at 7:28 history tweeted twitter.com/StackCodeReview/status/969474566836822016
Mar 1, 2018 at 15:46 comment added MCMastery @MatthiasBurger lol just found that and it made me laugh
Mar 1, 2018 at 15:40 comment added Matthias Burger @MCMastery hahaha thanks, but I didn't want to validate an e-mail :D that wasn't the question... anyway. the regex made me laugh... :)
Mar 1, 2018 at 15:37 comment added MCMastery ex-parrot.com/~pdw/Mail-RFC822-Address.html
Mar 1, 2018 at 15:19 comment added Matthias Burger Mhh okay, possibly I should really go with the System.Net.Mail.MailAdress and don't roll on my own implementation...
Mar 1, 2018 at 15:18 comment added Dan Oberlam Ultimately, the only valid email address is one that you can send email to; it is a lot more useful to see if your sending tool of choice can handle the email address than the arbitrary (hopefully subset, but notalways) criteria from the RFC you chose to enforce. Even then, you can't validate that it is a real email address - the only way to do that is by sending it.
Mar 1, 2018 at 15:16 comment added Dan Oberlam I think I read somewhere that with most regex implementations it is provably impossible to validate just from a regex, although I can't find the reference anymore.
Mar 1, 2018 at 15:16 comment added Dan Oberlam I mean... There are way more ways to send email addresses than you listed. here, here, here for examples
Mar 1, 2018 at 15:15 vote accept Matthias Burger
Mar 1, 2018 at 15:03 answer added Vogel612 timeline score: 6
Mar 1, 2018 at 14:51 answer added Nkosi timeline score: 15
Mar 1, 2018 at 14:34 comment added paparazzo Maybe place Regex reg = outside the method so it is only create once at run time.
Mar 1, 2018 at 13:06 comment added Matthias Burger @BCdotWEB the is the standard when writing an e-mail but you won't see the e-mail address, you see a name. Something like James Bond <[email protected]> will display in outlook just James Bond instead of his e-mail-address. So, this is kind of a standard :)
Mar 1, 2018 at 13:03 comment added BCdotWEB Why would you even allow the first possibility?
Mar 1, 2018 at 11:42 history edited t3chb0t
edited tags
Mar 1, 2018 at 11:33 history asked Matthias Burger CC BY-SA 3.0