Send Email With MAPI in VB
Category:
Network/InternetType:
SnippetsDifficulty:
IntermediateAuthor:
Vineeth VenugopalVersion Compatibility: Visual Basic 6
More information:
This simple program can be used for sending an email by just clicking a button. What you need is just a form, a command button and some textbox controls for your email from and to and subject values. Add the MAPISession and MAPIMessages components to your form and name them MAPISession1 and MAPIMessage1 respectively.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: