Anyone have any Visual Basic 6 code that can be compiled into a COM object so I can validate an SMTP email address. I want to validate the DNS and the username portion of the address.

What API's should I be looking at?