Closed americrypt closed 4 years ago
smtp-server accepts addresses that are valid by smtp syntax, it does not care if the address is otherwise valid (does the host exist or not etc). This is intentional to allow building servers for internal traffic with local addresses. For actual internet-compatible validation you might want to use something like @hapi/address
@andris9 It would help greatly if you would allow people to finish editing their comments before you close their issue. This issue was open less than 5 minutes sir, please, I cannot type that damn fast.
On your website you state:
And we can see some examples of invalid addresses here at the bottom of the page:
Problem is, both of those examples of invalid addresses do get accepted:
Is your website wrong in that you're not actually checking addresses, or is this a bug in the program?