The VB Mail Protocols project aims to provide a free set of reusable components for SMTP, DNS and POP functionality for Visual Basic 6 and possibly the .net framework based around the MS Winsock control. Downloads are available on the project homepage.