417
submitted 1 week ago* (last edited 1 week ago) by qaz@lemmy.world to c/programmer_humor@programming.dev

...

you are viewing a single comment's thread
view the rest of the comments
[-] ooterness@lemmy.world 218 points 1 week ago* (last edited 1 week ago)

Jokes aside, I have been blocked many times by overzealous email validation. Yes, my email has a plus sign in it. This is allowed under RFC5322, so deal with it. It is better to have no validation at all than incorrect validation.

[-] elvith@feddit.org 206 points 1 week ago* (last edited 1 week ago)

A plus sign? That's nothing, LOL

Quote:

If you disagree, or have any other comments, feel free to email me at

'*+-/=?^_`{|}~#$@[IPv6:2602:f977:800:0:e276:63ff:fe72:3900]

-- if your mail client lets you, that is.

[-] mormegil@programming.dev 4 points 5 days ago

Because of one smartass customer who insisted on doing exact RFC 822 validation, I implemented exactly that. And yes,

zKcknV|NGv.lI66vR#@X`QcRK4K.R`?NpA.Gc2Kqzue9.%&nb1kGWp/./#Och$RQv

is one of the test cases for a valid addr-spec. See (or generate) some others at https://github.com/mormegil-cz/rfcemailvalidator

[-] boonhet@sopuli.xyz 48 points 1 week ago

I like this issue in the form of a quiz

[-] mech@feddit.org 19 points 1 week ago* (last edited 1 week ago)

TIL:
🫱@🫲
is a valid e-mail address.

[-] smiletolerantly@awful.systems 4 points 1 week ago

Nice, I was able to send an email to that.

[-] erer@lemmy.zip 4 points 1 week ago

I dont know if it's just me, but this comment is breaking the rendering of Voyager

[-] elvith@feddit.org 3 points 1 week ago

I needed to use a code block for that address as several apps had a problem when I tested escaping the back ticks in the address for the inline code. Not sure if you mean that as it renders in it's own line or if anything else is broken

[-] gegil@sopuli.xyz 87 points 1 week ago

The best email validation is just sending an email to whatever provided by the user. If user receives an email and validates it, than its validated.

[-] kunaltyagi@programming.dev 14 points 1 week ago

Email address spec is convoluted and this is indeed the best way. Noobs and ninja do it this way, normies try to validate before sending email

Email validation for a form should at most look for

  • at least one character
  • followed by @
  • followed by at least one character
  • followed by .
  • followed by at least two characters

Sending an email can take a few minutes. Form validation is instant.

[-] JohnEdwa@sopuli.xyz 5 points 1 week ago

Which would still not be perfect because "foo@bar", "foo@[123.123.123.123]" and "💩 @[IPv6 :::1]" are all technically valid email addresses.

It looks like the only validation that doesn't block something valid pretty much would start and end at "It has at least one @ symbol, and something on both sides".

[-] planish@sh.itjust.works 2 points 1 week ago

So I can't be directly bezos@aws?

[-] dfyx@lemmy.helios42.de 63 points 1 week ago

The worst sites are the ones that let you sign up with an unusual address but not log in. The worst I‘ve seen was some ticket system that rejected dfyx+theirdomain@mydomain after I clicked the link in their confirmation email.

[-] FishFace@piefed.social 20 points 1 week ago

There's an aspect of my surname which is somewhat unusual (at least in my country). As a result I occasionally get form validation errors when entering it. Sometimes those errors are extremely inscrutable. Sometimes a form validates but something elsewhere makes unvalidated assumptions about names which then breaks in completely unpredictable names...

[-] TurtleTourParty@midwest.social 18 points 1 week ago
[-] FishFace@piefed.social 6 points 1 week ago

Actually no. In fact, I think most people who thought for a minute would realise names like mine exist, it's just that sometimes people working systems don't think for a minute ;)

[-] purplemonkeymad@programming.dev 8 points 1 week ago

The number of scripts I've seen that would break with an O'Neill or O'Brien is too high. Worse is some people don't get it when pointed out.

[-] douglasg14b@lemmy.world 34 points 1 week ago

Even worse is when they strip the plus sign out after the fact and then you can't log in anymore because you didn't realize that's what has happened.

[-] filcuk@lemmy.zip 15 points 1 week ago

This is criminal. You already send me a validation email, just check for an @ and leave me be

[-] dogs0n@sh.itjust.works 11 points 1 week ago

Yees this has happened to me before but with passwords. They have some length limit that they clamp to so you can't login after registering and I have to do a password reset right after signing up. Happened multiple times to me.

[-] SmoothLiquidation@lemmy.world 31 points 1 week ago

I had a website not let me enter a proton.me email address, when I changed it to my custom.fyi address, it worked fine. They wanted a three letter TLD.

[-] Scrollone@feddit.it 14 points 1 week ago

No, I think they just blocked Proton email addresses. I've seen multiple services doing that.

[-] kossa@feddit.org 15 points 1 week ago

That was my best customer support interaction ever. Company did not let me register with a "new" TLD email address, as "this is not a valid email address". I wrote them from that email address. They respondend to that email address with "this is not a valid address". I wrote back "how are we writing, then?" and never heard back 😂

[-] traxex@lemmy.dbzer0.com 14 points 1 week ago

Not sure if you also do aliases as well but I’ve seen an increase in websites flagging providers like addy.io as well. Extremely annoying that so many websites think they are so important that they refuse an alias.

[-] borari@lemmy.dbzer0.com 11 points 1 week ago

I had a site refuse my email address for my .net domain. Like wtf, if it’s not .com it’s not a real email address? Idk what that was about.

[-] grendel84@tiny.tilde.website 7 points 1 week ago

@traxex
@ooterness

migadu has a cool workaround.

instead of:
alias+user@domain.tld

you give:
alias@user.domain.tld

then internally it transforms it to an alias when it comes in.

[-] Scoopta@programming.dev 10 points 1 week ago

Same although for a totally different reason. There are some services that really don't like gtlds and they will say your address is invalid if it doesn't end in .com, .net, or .org...all my serious domains are gtld...so some services have emails on meme domains because the only domains I have with traditional tlds are memes

this post was submitted on 19 Jan 2026
417 points (99.1% liked)

Programmer Humor

28883 readers
1656 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS