You cannot reliably determine whether the letter is valid or not. SMTP servers intend to implement the VRFY command, but many of them are disabled so that spammers cannot find a valid email address.
In addition, even if the email address matches the correct email address of RFC 5322, this does not mean that it is a valid email address on the target server; many servers do not properly implement this standard!
The best thing you can do is send an email to your feedback email address. If the email address is valid and the user reads the email and the user clicks on the link, then it may happen that the email address is valid (it could be intercepted, which would give you a false positive).
If the email bounces back, this may indicate that the email address is invalid (but it may also be that the target server is down, or the mailbox is full, or who knows what else).
As you can see, SMTP is extremely unreliable given how well it works in practice.
jason source share