Sending Email With The CDO Message Object
Category:
MiscellaneousType:
ApplicationsDifficulty:
BeginningAuthor:
AnonymousVersion Compatibility: Visual Basic 6
More information:
This sub procedure, herein using the form load event, uses the message object of CDO, (Collaboration Data Objects). First set up the fields for your SMTP server, then start building your message to send. All you need is the IP, or DNS, of your SMTP server.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: