Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Everyone knows what an email address is, right? (Quiz)

Everyone knows what an email address is, right? (Quiz)

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
140 Posts 105 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T [email protected]
    This post did not contain any content.
    T This user is from outside of this forum
    T This user is from outside of this forum
    [email protected]
    wrote last edited by
    #89

    12/21

    are things that are considered out of current spec really "valid" though?

    E 1 Reply Last reply
    10
    • R [email protected]

      Now i just need a registrar that allows emoji...

      S This user is from outside of this forum
      S This user is from outside of this forum
      [email protected]
      wrote last edited by
      #90

      Self-host it.

      People may find that weird, however.

      1 Reply Last reply
      0
      • T [email protected]

        12/21

        are things that are considered out of current spec really "valid" though?

        E This user is from outside of this forum
        E This user is from outside of this forum
        [email protected]
        wrote last edited by
        #91

        And is it really valid if my email provider doesn't accept it? If it's not universally accepted or standard, then it doesn't matter if it's technically valid.

        magnum@lemmy.dbzer0.comM kairubyte@lemmy.dbzer0.comK 2 Replies Last reply
        4
        • P [email protected]

          I didn't understand this one. How do you have a no dot domain? Like you need to distinguish from example.com or example.wtf

          Edit: do you mean if you own .google you can have your email@google address?

          D This user is from outside of this forum
          D This user is from outside of this forum
          [email protected]
          wrote last edited by
          #92

          Yes, the top-level domain is still just a domain. I'm not aware of any public Internet services which are reachable from a TLD directly, and it's strongly discouraged by ICANN, but there isn't any technical limitation preventing e.g. someone at Verisign from setting up example@com.

          1 Reply Last reply
          2
          • johnedwa@sopuli.xyzJ [email protected]

            But they will work, and according to the spec, you have to build your system so that it can handle those cases. Obsolete doesn't mean incorrect or invalid, just a "you shouldn't do this any more".

            Obsolete Syntax
            Earlier versions of this standard allowed for different (usually more
            liberal) syntax than is allowed in this version. Also, there have
            been syntactic elements used in messages on the Internet whose
            interpretation have never been documented. Though some of these
            syntactic forms MUST NOT be generated according to the grammar in
            section 3, they MUST be accepted and parsed by a conformant receiver.

            https://datatracker.ietf.org/doc/html/rfc2822#section-4

            N This user is from outside of this forum
            N This user is from outside of this forum
            [email protected]
            wrote last edited by
            #93

            Well shit, yeah, that "MUST be accepted and parsed" is pretty explicit. That sucks. What is even the point of revising standards? How the fuck do we ever get rid of some of these bad ideas?

            1 Reply Last reply
            2
            • ikidd@lemmy.worldI [email protected]

              I gave up when I got like 5 wrong. I've ran mail servers for decades, most of the invalid "valids" would get rejected by any mailservers I've administered.

              P This user is from outside of this forum
              P This user is from outside of this forum
              [email protected]
              wrote last edited by
              #94

              And for a good reason.

              1 Reply Last reply
              3
              • E [email protected]

                And is it really valid if my email provider doesn't accept it? If it's not universally accepted or standard, then it doesn't matter if it's technically valid.

                magnum@lemmy.dbzer0.comM This user is from outside of this forum
                magnum@lemmy.dbzer0.comM This user is from outside of this forum
                [email protected]
                wrote last edited by
                #95

                The RFC is the standard.

                1 Reply Last reply
                12
                • F [email protected]

                  I got 14/21

                  dditty@lemmy.dbzer0.comD This user is from outside of this forum
                  dditty@lemmy.dbzer0.comD This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #96

                  Me too and it said that is the amount you'd get if you just picked "valid" for every response. Lmao

                  1 Reply Last reply
                  2
                  • T [email protected]
                    This post did not contain any content.
                    W This user is from outside of this forum
                    W This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #97

                    I scored 14/21 on https://e-mail.wtf/ and all I got was this lousy text to share on social media.

                    I actually died at the poop emoji one. Actually amazing awareness to test for that

                    1 Reply Last reply
                    12
                    • T [email protected]
                      This post did not contain any content.
                      R This user is from outside of this forum
                      R This user is from outside of this forum
                      [email protected]
                      wrote last edited by [email protected]
                      #98

                      Well... like Bill Clinton said, it depends on what the definition of "is" is.

                      1 Reply Last reply
                      2
                      • R [email protected]

                        Now i just need a registrar that allows emoji...

                        adrianthefrog@lemmy.worldA This user is from outside of this forum
                        adrianthefrog@lemmy.worldA This user is from outside of this forum
                        [email protected]
                        wrote last edited by [email protected]
                        #99

                        Any should. Any unicode is converted to alphabetical anyways, through "xn--" + a punycode conversion. Which is actually fairly important for places that don't use the Latin alphabet.

                        See http://xn-bdk.gay/, which is the same as http://ツ.gay/

                        (Someone set this up on 196 a while ago, they said they were using Namecheap)

                        R 1 Reply Last reply
                        2
                        • T [email protected]

                          You shouldn’t be validating emails yourself anyway. Use a library or check for only the @ and then send an email confirmation.

                          W This user is from outside of this forum
                          W This user is from outside of this forum
                          [email protected]
                          wrote last edited by [email protected]
                          #100

                          Use a library

                          Please, no. If someone wrote email address "validation" complex enough to warrant a library, then their code is almost certainly wrong.

                          or check for only the @ and then send an email confirmation.

                          Yes. Do that.

                          If your boss demands a more detailed check at input time, then make it display warnings, not errors, and continue to the confirmation sending step if the user chooses to ignore the warning.

                          1 Reply Last reply
                          5
                          • T [email protected]
                            This post did not contain any content.
                            C This user is from outside of this forum
                            C This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #101

                            Also as the registrant of one of those new fancy TLDs, much like the owner of this website (email.wtf), their own email addresses will fail those stupid email validation checks that only believe in example@example.[com|net|org]

                            Shitty websites will fail "[email protected]", guaranteed - despite it being 100% valid AND potentially live.

                            Source - I have a ".family" domain for my email server. Totally functional, but some shitty websites refuse to believe it.

                            L A B N 4 Replies Last reply
                            19
                            • T [email protected]
                              This post did not contain any content.
                              H This user is from outside of this forum
                              H This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #102

                              12/21. It was highly entertaining though.

                              1 Reply Last reply
                              6
                              • adrianthefrog@lemmy.worldA [email protected]

                                Any should. Any unicode is converted to alphabetical anyways, through "xn--" + a punycode conversion. Which is actually fairly important for places that don't use the Latin alphabet.

                                See http://xn-bdk.gay/, which is the same as http://ツ.gay/

                                (Someone set this up on 196 a while ago, they said they were using Namecheap)

                                R This user is from outside of this forum
                                R This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #103

                                oh jesus, rabbit hole accepted, thanks!

                                1 Reply Last reply
                                1
                                • tomasekeli@programming.devT [email protected]

                                  I don't validate emails, I test them.

                                  That's your email? OK, what did we send it? if we couldn't send to it or the user can't read it there's no reason to accept it.

                                  OK, maybe I do some light validation first, but I don't trust the email address just because it's email-address-shaped.

                                  W This user is from outside of this forum
                                  W This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by [email protected]
                                  #104

                                  I don’t validate emails, I test them.

                                  Hooray! You get a gold star.

                                  OK, maybe I do some light validation first,

                                  I hope your "validation" does nothing more than show a warning that the user is allowed to ignore.

                                  I have seen too many systems built by people who think they know what's valid or not before and after the @ sign*, and they are almost always dead wrong. In the worst cases, such systems accept an unusual-looking address and claim to send the expected verification message, but never actually send it. Of course, these systems won't work for some people, and since none of their online docs or support staff know why, those people will be locked out of using the system and funneled into bottomless pit of misery if they try. Please don't build broken garbage like this.

                                  *Fun fact: Not so terribly long ago, even the @ sign didn't have to be present. Some email addresses were bang paths. I'm not sure if any of these are still in use, but it wouldn't shock me to learn that they are.

                                  1 Reply Last reply
                                  0
                                  • I [email protected]

                                    Let us recite the email validator’s oath:

                                    If it has something before the @, something between the @ and the ., and something after the ., it’s valid enough.

                                    K This user is from outside of this forum
                                    K This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #105

                                    The ultimate validation is to see if it gets sent.

                                    1 Reply Last reply
                                    10
                                    • E [email protected]

                                      And is it really valid if my email provider doesn't accept it? If it's not universally accepted or standard, then it doesn't matter if it's technically valid.

                                      kairubyte@lemmy.dbzer0.comK This user is from outside of this forum
                                      kairubyte@lemmy.dbzer0.comK This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #106

                                      If your email provider doesn’t accept [email protected] is it then invalid?

                                      1 Reply Last reply
                                      3
                                      • N [email protected]

                                        I scored 16/21 on https://e-mail.wtf/ and all I got was this lousy text to share on social media.

                                        This was fun!

                                        Edit: people, upvote the OP, not me

                                        E This user is from outside of this forum
                                        E This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #107

                                        Don't tell me what to do!

                                        1 Reply Last reply
                                        0
                                        • T [email protected]
                                          This post did not contain any content.
                                          P This user is from outside of this forum
                                          P This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #108

                                          nice. though valid but obsolete is not a thing... if it's obsolete it's invalid.

                                          G 1 Reply Last reply
                                          20
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups