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 2 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.
  • dremor@lemmy.worldD [email protected]

    A domaine without tld (me@home) is a valide address.
    I saw an email server being used as a mqtt-like server this way (it is very old and predate those software).

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

    An address without a domain is irrelevant for a signin/registration form. Which is like 90% of the code being written in the wild to validate addresses.

    If you're writing an email server, then you need to care about all these details. Most of us never will.

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

      I don't care who the IRS sends, I am not validating emails with spaces on them.

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

        I got 13/21. I mean thats not bad πŸ˜„

        1 Reply Last reply
        4
        • 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
          #51

          What if we πŸ‘‰@πŸ‘ˆ ..? 🀭

          R 1 Reply Last reply
          39
          • scoopta@programming.devS [email protected]

            I can't even view it...I get a TLS error

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

            I get "not found". You got farther than me.

            1 Reply Last reply
            2
            • T [email protected]
              This post did not contain any content.
              endymion_mallorn@kbin.melroy.orgE This user is from outside of this forum
              endymion_mallorn@kbin.melroy.orgE This user is from outside of this forum
              [email protected]
              wrote last edited by
              #53

              Wow. if I ever have the madness required to self-host, I'll have my email at an IP address.

              1 Reply Last reply
              10
              • M [email protected]

                I don't care who the IRS sends, I am not validating emails with spaces on them.

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

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

                tomasekeli@programming.devT Z W 3 Replies Last reply
                17
                • A [email protected]

                  Same. I answered what i thought was correct and got 14!

                  dabster291@lemmy.zipD This user is from outside of this forum
                  dabster291@lemmy.zipD This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #55

                  14/21 gang

                  1 Reply Last reply
                  0
                  • rmuk@feddit.ukR This user is from outside of this forum
                    rmuk@feddit.ukR This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #56

                    I'm gonna have a mailbox per device and the addresses will be deviceip@serverip. [email protected].

                    N 1 Reply Last reply
                    6
                    • T [email protected]
                      This post did not contain any content.
                      tomasekeli@programming.devT This user is from outside of this forum
                      tomasekeli@programming.devT This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #57

                      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.

                      C W G 3 Replies Last reply
                      28
                      • rmuk@feddit.ukR [email protected]

                        I'm gonna have a mailbox per device and the addresses will be deviceip@serverip. [email protected].

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

                        Needs to be IPv6, including support for subnets to message multiple devices

                        1 Reply Last reply
                        4
                        • 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.

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

                          What kind of "light validation"? I'm guessing a .*@.* regex match.

                          Q tomasekeli@programming.devT 2 Replies Last reply
                          4
                          • C [email protected]

                            What kind of "light validation"? I'm guessing a .*@.* regex match.

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

                            @ matches

                            1 Reply Last reply
                            5
                            • 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
                              #61

                              If qoutes are removed and internal spaces are invalid, how could ":(){␣:|:&␣};:"@example.com be valid?

                              chairmanmeow@programming.devC B 2 Replies Last reply
                              3
                              • F [email protected]

                                An address without a domain is irrelevant for a signin/registration form. Which is like 90% of the code being written in the wild to validate addresses.

                                If you're writing an email server, then you need to care about all these details. Most of us never will.

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

                                Hey! IPv6 is valid in the inter-network context and needs no dots!

                                F 1 Reply Last reply
                                3
                                • C [email protected]

                                  Hey! IPv6 is valid in the inter-network context and needs no dots!

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

                                  You gonna fill an IPv6 address for your email server into the DoorDash signin page?

                                  Z 1 Reply Last reply
                                  4
                                  • C [email protected]

                                    What kind of "light validation"? I'm guessing a .*@.* regex match.

                                    tomasekeli@programming.devT This user is from outside of this forum
                                    tomasekeli@programming.devT This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by [email protected]
                                    #64

                                    Almost correct. ^.+@.+$

                                    Too hard to validate properly to be worth it. Even if it is technically valid that's insufficient. It must also work, and the easiest way to test that is to use it and verify that the user got what we sent.

                                    G 1 Reply Last reply
                                    10
                                    • 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.

                                      tomasekeli@programming.devT This user is from outside of this forum
                                      tomasekeli@programming.devT This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #65

                                      This is the way.

                                      1 Reply Last reply
                                      2
                                      • C [email protected]

                                        Question 5 is incorrect, name@example is a fully valid email address, even after RFC 2822

                                        The spec of RFC 2822 defines an address (3.4.1) as:

                                        local-part "@" domain
                                        

                                        domain is defined (3.4.1) as:

                                        domain = dot-atom / domain-literal / obs-domain
                                        

                                        dot-atom is defined (3.2.4) as:

                                        dot-atom = [CFWS] dot-atom-text [CFWS]
                                        dot-atom-text = 1*atext *("." 1*atext)
                                        

                                        1*atext meaning at least 1 alphanumeric character, followed by *("." 1*atext) meaning at least 0 "." 1*atext


                                        If tomorrow, google decided to use its google top-level domain as an email domain, it would be perfectly valid, as could any other company owning top-level domains

                                        Google even owns a gmail TLD so I wouldn't even be surprised if they decided to use it

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

                                        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 mobotsar@sh.itjust.worksM A 3 Replies Last reply
                                        0
                                        • F [email protected]

                                          You gonna fill an IPv6 address for your email server into the DoorDash signin page?

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

                                          Don't be ridiculous, I'm going to use an open source password manager to fill an IPv6 address for my email server into the DoorDash signin page.

                                          F 1 Reply Last reply
                                          9
                                          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