FastSender Object


EASendMailObj consists of two objects: IMail and IFastSender. IMail interface provides the basis of sending email. It supports CC, BCC, multiple attachments and ESMTP authentication. It fully supports asynchronous operating mode and event driving. It also provides advanced features such as embedded picture, alternative text, email digital signature and email encryption. IFastSender interface enables your application to send mass email in a threadings-pool with highest performance. Both IMail and IFastSender can send email under SSL/TLS channel.

Properties

MaxThreads

Maximum no. of worker thread for sending email.

ComputerName

Domain name to send in HELO/EHLO command.

Methods

ClearQueuedMails

Remove all unsent emails from FastSender object.

GetCurrentThreads

Get total count of current worker threads in FastSender object.

GetIdleThreads

Get the total count of current idle worker threads in FastSender object.

GetQueuedCount

Get total count of unsent emails in FastSender object.

Send

Submit email to threading-pool of FastSender object.

SendByPickup

Submit email to threading-pool of FastSender object for sending email by IIS SMTP service pickup.

StopAllThreads

Stop all worker threads in FastSender object.

Test

Submit email to threading-pool of FastSender object for validating email address.

Events

OnSent

Occur when an email was sent by FastSender object.