Professional Documents
Culture Documents
The following Visual Basic code will send a Notes e-mail message. The code includes examples
of code to include an attachment and to save the sent message, which are both optional and
can be removed if desired.
Note: The Visual Basic programmer needs to set the Reference to use Lotus Domino objects
prior to implementing this function. To enable the Lotus Notes classes to appear in the Visual
Basic browser, you must execute the following within VB: Select Tools, References and select
the checkbox for 'Lotus Notes Automation Classes'.
The above code is from the IBM support. GETDATABASE given here is pointing to the sample
MailDB; you need to change that to your DB.
Automate Email, VBA Email, Send Email from Excel, VBA Mail automation, Mail Automation,
Lotus Notes VBA, Automate Lotus Notes, Send Mail from Lotus Notes, Link Excel with Lotus
Notes,Microsoft Lotus Notes Mail Automation, Excel VBA Mail, MAPI, Send Multiple eMails