Samples

<< Click to Display Table of Contents >>

Navigation:  Samples and Tutorials > C++/MFC/ATL >

Samples

 

AddEmail includes the following C++ samples:

 

SimpleSend Sample

 

Location: AddEmail\Samples\C++\SimpleSend\

 

SimpleSend sample demonstrates how to send text or HTML e-mails using SimpleSend.

 

SimpleSendAttachment Sample

 

Location: AddEmail\Samples\C++\SimpleSendAttachment\

 

SimpleSendAttachment sample demonstrates how to send text or HTML e-mails with attachments using SimpleSendAttachment.

 

HtmlMail Sample

 

Location: AddEmail\Samples\C++\HtmlMail\

 

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 e-mail.

 

EmbeddedImages Sample

 

Location: AddEmail\Samples\C++\EmbeddedImages\

 

EmbeddedImages sample demonstrates how to create and send HTML e-mails with embedded images using Send.

 

EnterpriseMail Sample

 

Location: AddEmail\Samples\C++\EnterpriseMail\

 

EnterpriseMail sample demonstrates features of AddEmail Enterprise version. It shows how to queue and send multiple e-mails simultaneously using AddEmail multi-threading support. This sample also shows how to process events from SmtpMail object. In addition, this sample shows how to send e-mails directly to recipients' mail servers without using outgoing mail server of your organization or internet provider.

 

UnicodeMail Sample

 

Location: AddEmail\Samples\C++\UnicodeMail\

 

UnicodeMail sample demonstrates how to create and send e-mails that contain Unicode characters. Unicode can be used in the body of a message, in the subject field, and in the names of sender and recipients.

 

SendAsync Sample

 

Location: AddEmail\Samples\C++\SendAsync\

 

HtmlMail sample demonstrates how to send HTML e-mails with attachments asynchronously using SendAsync. This sample also shows how to process events from SmtpMail object.