this post was submitted on 19 Jan 2026
395 points (99.5% liked)

Programmer Humor

28641 readers
908 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
 

...

you are viewing a single comment's thread
view the rest of the comments
[–] ooterness@lemmy.world 209 points 3 days ago* (last edited 3 days ago) (8 children)

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.

[–] kossa@feddit.org 13 points 2 days 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 πŸ˜‚

[–] elvith@feddit.org 192 points 3 days ago* (last edited 3 days ago) (4 children)

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 1 points 3 hours 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 45 points 3 days ago (1 children)

I like this issue in the form of a quiz

[–] mech@feddit.org 16 points 2 days ago* (last edited 2 days ago)

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

[–] erer@lemmy.zip 4 points 2 days ago (1 children)

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

[–] elvith@feddit.org 3 points 2 days 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

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

[–] gegil@sopuli.xyz 84 points 3 days ago (2 children)

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 13 points 3 days 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

[–] bestboyfriendintheworld@sh.itjust.works 1 points 1 day ago (2 children)

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 4 points 1 day 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 day ago

So I can't be directly bezos@aws?

[–] douglasg14b@lemmy.world 33 points 3 days ago (2 children)

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.

[–] dogs0n@sh.itjust.works 10 points 2 days 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.

[–] filcuk@lemmy.zip 14 points 3 days ago

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

[–] dfyx@lemmy.helios42.de 59 points 3 days ago (1 children)

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 18 points 3 days ago (1 children)

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 3 days ago (1 children)
[–] FishFace@piefed.social 6 points 3 days ago (1 children)

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 ;)

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.

[–] SmoothLiquidation@lemmy.world 31 points 3 days ago (1 children)

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 13 points 3 days ago

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

[–] traxex@lemmy.dbzer0.com 14 points 3 days ago (2 children)

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 3 days 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.

@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 3 days 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