Comment on Stop Validating Email Addresses With Your Complex RegexesComments−TomatoTomato13yWhat about just checking if a MX record exists?−kingatomic13yThat verifies the domain, but not the actual mailbox.One possibility would be to lookup the MX, then connect to the remote MTA and ask it directly if the mailbox is valid. But that seems a bit like over-engineering.−ars13yIt's also possible that the email server is down at the moment, but will come back up later.
Comments
What about just checking if a MX record exists?
That verifies the domain, but not the actual mailbox.
One possibility would be to lookup the MX, then connect to the remote MTA and ask it directly if the mailbox is valid. But that seems a bit like over-engineering.
It's also possible that the email server is down at the moment, but will come back up later.