Samples

<< Click to Display Table of Contents >>

Navigation:  Samples and Tutorials > ASP.NET - C# >

Samples

 

AddEmail includes the following ASP.NET / C# samples:

 

SimpleSend Sample

 

Location: AddEmail\Samples\ASP.NET 1.x - C#\SimpleSend\

             AddEmail\Samples\ASP.NET 2 - C#\SimpleSend\

             AddEmail\Samples\ASP.NET 4 - C#\SimpleSend\

 

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

 

HtmlMail Sample

 

Location: AddEmail\Samples\ASP.NET 1.x - C#\HtmlMail\

             AddEmail\Samples\ASP.NET 2 - C#\HtmlMail\

             AddEmail\Samples\ASP.NET 4 - C#\HtmlMail\

 

HtmlMail sample demonstrates how to send HTML e-mails synchronously using Send. This sample also shows how to set alternative text-only body of e-mail.

 

UnicodeMail Sample

 

Location: AddEmail\Samples\ASP.NET 1.x - C#\UnicodeMail\

             AddEmail\Samples\ASP.NET 2 - C#\UnicodeMail\

             AddEmail\Samples\ASP.NET 4 - 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\ASP.NET 1.x - C#\SendAsync\

             AddEmail\Samples\ASP.NET 2 - C#\SendAsync\

             AddEmail\Samples\ASP.NET 4 - C#\SendAsync\

 

SendAsync sample demonstrates how to send HTML e-mails asynchronously using SendAsync. This sample also shows how to get status of the e-mail using GetStatus.