<< Click to Display Table of Contents >> Navigation: Samples and Tutorials > VBA (Microsoft Office) > Samples |
AddEmail includes the following VBA samples:
SimpleSend Sample
Location: AddEmail\Samples\Access 2010-2016\SimpleSend.accdb
AddEmail\Samples\Access 2000-2007\SimpleSend.adp
AddEmail\Samples\Excel 2010-2016\SimpleSend.xlsm
AddEmail\Samples\Excel 2000-2007\SimpleSend.xls
SimpleSend sample demonstrates how to send text or HTML e-mails synchronously using SimpleSend.
HtmlMail Sample
Location: AddEmail\Samples\Access 2010-2016\HtmlMail.accdb
AddEmail\Samples\Access 2000-2007\HtmlMail.adp
HtmlMail sample demonstrates how to send HTML e-mails with attachments using Send. This sample also shows how to set alternative text-only body of the e-mail.
SendAsync Sample
Location: AddEmail\Samples\Access 2010-2016\SendAsync.accdb
AddEmail\Samples\Access 2000-2007\SendAsync.adp
SendAsync sample demonstrates how to send HTML e-mails with attachments asynchronously using SendAsync. This sample also shows how to process events from SmtpMail object.