Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Email::Valid rejecting emails @example.com today

by Anonymous Monk
on Sep 06, 2019 at 03:04 UTC ( #11105697=note: print w/replies, xml ) Need Help??


in reply to Re: Email::Valid rejecting emails @example.com today
in thread Email::Valid rejecting emails @example.com today

I found your problem: the example.com domain is not really even supposed to resolve, much less have ever had valid MX records. The validation is working correctly: email addresses on example.com are not valid and you should not be using those in test data that is supposed to pass validation.

Prove it :)

  • Comment on Re^2: Email::Valid rejecting emails @example.com today

Replies are listed 'Best First'.
Re^3: Email::Valid rejecting emails @example.com today
by jcb (Chaplain) on Sep 06, 2019 at 03:56 UTC

      See RFC2606. :)

      Which part of "RFC2606" dictates how ICANN should manage example.com? It also makes no mention of  mail exchanger record (MX record)

      When I'm guessing I says I'm guessing. Otherwise I check my answers before posting so I'm not posting bad memories/fantasy.

        Read section 2 of RFC2606, which describes the purpose of reserving domain names and reserves a few TLDs. Section 3 describes "example.com" and others as "also" reserved to be "used as examples". That means that they should be treated like the top-level domain ".example." and are intended for use in documentation. There is no reason that a documentation placeholder domain should even resolve.

        In fact, I recall some controversy when the .COM registrar put up a page on example.com, complete with ads, during one of the Internet bubbles.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11105697]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2019-10-24 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?