Samples


In order to let you learn more programming skill on ANSMTP object, we provide the following samples.

ASP.NET
CSharp.NET
Visual Basic.NET
.NET SDK
ASP + (Mail Queuing)
Visual Basic + (S/MIME, Html Editor)
Visual C++
VBScript/Windows Script Host
Visual Basic Application (VBA)
JScript/Windows Script Host


ASP.NET
asp_net

It demonstrates how to use ANSMTP to send email in ASP.NET. There are three samples including CSharp, Visual Basic.NET and JScript.NET. It locates at ANSMTP installation directory\samples\asp_net

CSharp
simple.csharp:

It demonstrates how to use ANSMTP to send email in C# and .NET Framework in asynchronous mode. It locates at ANSMTP installation directory\samples\simple.csharp

mass.csharp:

It demonstrates how to use ANSMTP to send mass emails in C# and .NET Framework in different ways with multiple threading. It locates at ANSMTP installation directory\samples\mass.csharp

Visual Basic.NET
vb.net:

It demonstrates how to use ANSMTP to send email in asynchronous mode. It locates at ANSMTP installation directory\samples\vb.net

.NET SDK
dotnet sdk

It demonstrates how to use .NET command compilers to build applications with CSharp, Visual Basic.NET and JScript.NET. It locates at ANSMTP installation directory\samples\dotnet sdk

ASP + (Mail Queuing)
asp

It demonstrates how to use ANSMTP to send email in ASP page. It locates at ANSMTP installation directory\samples\asp.

asp_queue

It demonstrates how to use ANSMTP to send email to EASendMail Service in ASP page. It locates at ANSMTP installation directory\samples\asp_queue

asp_queue_database

It demonstrates how to use ANSMTP to send email to EASendMail Service, EASendMail service will select recipients from database. It locates at ANSMTP installation directory\samples\asp_queue_database

Visual Basic + (S/MIME, Html Editor)
simple.vb

It demonstrates how to use ANSMTP to send rich TEXT/HTML/ATTACHMENT email via SMTP server in synchronous mode. It also illustrates how to use ESMTP user authentication. It locates at ANSMTP installation directory\samples\simple.vb.

async.vb

It demonstrates how to use ANSMTP to send TEXT/HTML/ATTACHMENT email via SMTP server in asynchronous mode. It also illustrates how to use event to handle error and progress of sending email. It locates at ANSMTP installation directory\samples\async.vb

htmlmail.vb

It demonstrates how to use ANSMTP to send email with advanced features such as embedded picture and alternative text, via SMTP server. It also uses asynchronous operating mode. It locates at ANSMTP installation directory\samples\htmlmail.vb.

smime.vb

It demonstrates how to use ANSMTP to sign and encrypt email with digital certificate. It locates at ANSMTP installation directory\samples\smime.vb.

mass.vb

It demonstrates how to use ANSMTP to send mass emails with multiple threading. It locates at ANSMTP installation directory\samples\mass.vb.

Visual C++
simple.vc

It demonstrates how to use ANSMTP to send rich TEXT/HTML email via SMTP server in synchronous mode. It also illustrates how to use ESMTP user authentication. It locates at ANSMTP installation directory\samples\simple.vc.

async.vc

It demonstrates how to use ANSMTP to send TEXT/HTML email via SMTP server in asynchronous mode. It also illustrates how to use event to handle error and progress of sending email. It locates at ANSMTP installation directory\samples\async.vc.

isapi.vc

It demonstrates how to use ANSMTP to send email without specified SMTP server in Isapi Extension. It locates at ANSMTP installation directory\samples\isapi.vc

VBScript/Windows Script Host
vbscript

It demonstrates how to use ANSMTP to send email in VBScript. It locates at ANSMTP installation directory\samples\vbscript.

Visual Basic Application (VBA)
vba.excel

It demonstrates how to send email in Excel with asynchronous mode. It locates at ANSMTP installation directory\samples\vba.excel

JScript/Windows Script Host
jscript

It demonstrates how to use ANSMTP to send email in JScript. It locates at ANSMTP installation directory\samples\jscript.


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.