The only way to check through code is to see if the domain exist or not but unless you send the email you will never know if its exists or not.

Now what you are asking is used by the spammers who collect the email addresses from the web pages that have @ symbol in pages. For these days you will see lots of email addresses are images rather then plain text.