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.
  • C [email protected]

    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 This user is from outside of this forum
    L This user is from outside of this forum
    [email protected]
    wrote last edited by
    #110

    Yeah I have a .engineering for my biz. I also registered mycompanyengineering.com to get through places that won’t take the new TLDs.

    Usually banks.

    appoxo@lemmy.dbzer0.comA 1 Reply Last reply
    1
    • scoopta@programming.devS [email protected]

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

      nailbar@sopuli.xyzN This user is from outside of this forum
      nailbar@sopuli.xyzN This user is from outside of this forum
      [email protected]
      wrote last edited by
      #111

      My phone blocked the site, citing "harmful content"

      1 Reply Last reply
      0
      • C [email protected]

        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.

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

        Same as I have a .party domain. So I made a place holder (looking at you progressive) email [email protected]

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

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

          I feel pretty good about that

          1 Reply Last reply
          16
          • C [email protected]

            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.

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

            I have a spam collecting address @freemail.hu , the domain is live and working since 96, sometimes it's not accepted, because it's not Gmail I guess

            1 Reply Last reply
            1
            • T [email protected]
              This post did not contain any content.
              mikelius@lemmy.mlM This user is from outside of this forum
              mikelius@lemmy.mlM This user is from outside of this forum
              [email protected]
              wrote last edited by
              #115

              And after that, I now can't wait for the next pull request with a regular expression on email validation to come through.

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

                I vaguely remember a panel where a guy went through various cases like these.

                One of the things that stood out is that not every email provides implements the same specs, so one provider might allow you to set up a "valid" email address that might not be able to communicate with other providers as they consider it "invalid".

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

                  xatolos@reddthat.comX This user is from outside of this forum
                  xatolos@reddthat.comX This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #117

                  Just because it's not something you'd use anymore doesn't mean it isn't valid.

                  WEP is still a valid form of wireless encryption, but no one would use it anymore (and so would be obsolete). It's still a part of the 802.11 standard.

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

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

                    Fails for when there is no TLD. Just send an email and validate a response eg from a link.

                    I 1 Reply Last reply
                    2
                    • 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?

                      mobotsar@sh.itjust.worksM This user is from outside of this forum
                      mobotsar@sh.itjust.worksM This user is from outside of this forum
                      [email protected]
                      wrote last edited by [email protected]
                      #119

                      In response to your edit.

                      Yes, or countries could use their cctld, e.g. email@us or noreply@uk.

                      Or any tld owner could do the same with theirs, of course.

                      P 1 Reply Last reply
                      1
                      • 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?

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

                        you could also send mails within your local network, the hostname just has to resolve and have a mail service running

                        1 Reply Last reply
                        0
                        • L [email protected]

                          Yeah I have a .engineering for my biz. I also registered mycompanyengineering.com to get through places that won’t take the new TLDs.

                          Usually banks.

                          appoxo@lemmy.dbzer0.comA This user is from outside of this forum
                          appoxo@lemmy.dbzer0.comA This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #121

                          Seems like a weird choice as the primary TLD.
                          I'd switch it just to reduce the annoying typing hassle and to avoid misspelling.

                          It's already unusual if I say "My email is [email protected]"
                          And that trips so many persons.
                          First: I have my own domain
                          Second: It's not gmail, apple or a local provider
                          Third: The TLD isnt .de or .com but .eu

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

                            13/21, seems like I am not significantly different from random guessing

                            G U 2 Replies Last reply
                            16
                            • iavicenna@lemmy.worldI [email protected]

                              13/21, seems like I am not significantly different from random guessing

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

                              Got the same, I can't believe how many weird comments and extra random things can get added into an email address.

                              1 Reply Last reply
                              6
                              • P [email protected]

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

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

                                Agreed! (because then I would get 3 more points on the test)

                                1 Reply Last reply
                                3
                                • T [email protected]

                                  Fails for when there is no TLD. Just send an email and validate a response eg from a link.

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

                                  No. The number of users who have a real email with no TLD is far less than the number of users who will accidentally type an email with no TLD if you don’t validate on the front end.

                                  I’m here to help 99.9% of users sign up correctly, not to be completely spec-compliant for the 0.1% who think they’re special.

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

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

                                    Hooray, you have better security than Apple, who won't let me use my own email because some idiot in Australia used it first.

                                    1 Reply Last reply
                                    1
                                    • C [email protected]

                                      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.

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

                                      I'm not sure I blame the sites. The spec is so complex that it's not even possible to know which regex to use

                                      A B U 3 Replies Last reply
                                      0
                                      • N [email protected]

                                        I'm not sure I blame the sites. The spec is so complex that it's not even possible to know which regex to use

                                        A This user is from outside of this forum
                                        A This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #128
                                        const emailRegExp = /^[\w.!#$%&'*+/=?^`{|}~-]+@[a-z\d-]+(?:\.[a-z\d-]+)*$/i;
                                        

                                        per the HTML specification. From https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Forms/Form_validation#validating_forms_without_a_built-in_api

                                        N 1 Reply Last reply
                                        2
                                        • A [email protected]
                                          const emailRegExp = /^[\w.!#$%&'*+/=?^`{|}~-]+@[a-z\d-]+(?:\.[a-z\d-]+)*$/i;
                                          

                                          per the HTML specification. From https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Forms/Form_validation#validating_forms_without_a_built-in_api

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

                                          That's one very random place to find that. There are a lot of different one and there is no way we all just agree to use that one.

                                          Look art his site that shows a more complete and (in theory) official website. While also explaining that there is no regex that is perfect

                                          https://emailregex.com/

                                          (Compete regex for the lazy)

                                          (?:\[a-z0-9!#$%&'\*+/=?^\_\`{|}\~-]+(?:\\.\[a-z0-9!#$%&'\*+/=?^\_\`{|}\~-]+)\*|"(?:\[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\\\\[\x01-\x09\x0b\x0c\x0e-\x7f])\*")@(?:(?:\[a-z0-9]\(?:\[a-z0-9-]\*\[a-z0-9])?\\.)+\[a-z0-9]\(?:\[a-z0-9-]\*\[a-z0-9])?|\\\[(?:(?:25\[0-5]|2\[0-4]\[0-9]|\[01]?\[0-9]\[0-9]?)\\.){3}(?:25\[0-5]|2\[0-4]\[0-9]|\[01]?\[0-9]\[0-9]?|\[a-z0-9-]\*\[a-z0-9]:(?:\[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\\\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\\])
                                          
                                          A 1 Reply Last reply
                                          0
                                          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