• ooterness@lemmy.world
    link
    fedilink
    English
    arrow-up
    210
    arrow-down
    1
    ·
    3 days 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.

    • kossa@feddit.org
      link
      fedilink
      arrow-up
      10
      ·
      1 day 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 😂

    • douglasg14b@lemmy.world
      link
      fedilink
      arrow-up
      33
      ·
      2 days 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.

      • dogs0n@sh.itjust.works
        link
        fedilink
        arrow-up
        10
        ·
        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
        link
        fedilink
        arrow-up
        14
        ·
        2 days ago

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

    • gegil@sopuli.xyz
      link
      fedilink
      arrow-up
      84
      ·
      2 days 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.

      • bestboyfriendintheworld@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        22 hours ago

        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
          link
          fedilink
          arrow-up
          2
          ·
          17 hours 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”.

      • kunaltyagi@programming.dev
        link
        fedilink
        arrow-up
        12
        ·
        2 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

    • dfyx@lemmy.helios42.de
      link
      fedilink
      arrow-up
      61
      ·
      3 days 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.

      • Scrollone@feddit.it
        link
        fedilink
        arrow-up
        14
        ·
        2 days ago

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

    • traxex@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      13
      ·
      2 days 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
        link
        fedilink
        arrow-up
        10
        ·
        2 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.

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      2 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