Samples

<< Click to Display Table of Contents >>

Navigation:  Samples and Tutorials > C# >

Samples

 

AddEmail includes the following C# samples:

 

SimpleSend Sample

 

Location: AddEmail\Samples\C# 2002-2003\SimpleSend\

             AddEmail\Samples\C# 2005-2008\SimpleSend\

             AddEmail\Samples\C# 2010-2017\SimpleSend\

 

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

 

SimpleSendAttachment Sample

 

Location: AddEmail\Samples\C# 2002-2003\SimpleSendAttachment\

             AddEmail\Samples\C# 2005-2008\SimpleSendAttachment\

             AddEmail\Samples\C# 2010-2017\SimpleSendAttachment\

 

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

 

HtmlMail Sample

 

Location: AddEmail\Samples\C# 2002-2003\HtmlMail\

            AddEmail\Samples\C# 2005-2008\HtmlMail\

            AddEmail\Samples\C# 2010-2017\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.

 

ImportHtmlWithImages Sample

 

Location: AddEmail\Samples\C# 2002-2003\ImportHtmlWithImages\

            AddEmail\Samples\C# 2005-2008\ImportHtmlWithImages\

            AddEmail\Samples\C# 2010-2017\ImportHtmlWithImages\

 

ImportHtmlWithImages sample demonstrates how to import HTML file with embedded images using ImportHTML.

 

EmbeddedImages Sample

 

Location: AddEmail\Samples\C# 2002-2003\EmbeddedImages\

            AddEmail\Samples\C# 2005-2008\EmbeddedImages\

            AddEmail\Samples\C# 2010-2017\EmbeddedImages\

 

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

 

EnterpriseMail Sample

 

Location: AddEmail\Samples\C# 2002-2003\EnterpriseMail\

             AddEmail\Samples\C# 2005-2008\EnterpriseMail\

             AddEmail\Samples\C# 2010-2017\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# 2002-2003\UnicodeMail\

             AddEmail\Samples\C# 2005-2008\UnicodeMail\

             AddEmail\Samples\C# 2010-2017\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# 2002-2003\SendAsync\

             AddEmail\Samples\C# 2005-2008\SendAsync\

             AddEmail\Samples\C# 2010-2017\SendAsync\

 

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.