I'm gonna assume you work in PHP or standard languages. You can either use an email verification API (like this one for example, but they are mostly charged) or a good anti-spam filter. I suggest the second option, easier and less expensive.