Pause Method

Stop all worker threads sending emails temporarily in FastSender object.

[Syntax]
C++: HRESULT Pause()
Visual Basic: Pause() 
C#: void Pause()

Remarks

Pause method stops all worker threads sending emails in queue temporarily, Resume method enables all worker threads to continue sending emails in queue.

How does FastSender work?

FastSender has an inner threading pool based on MaxThreads count. Firstly, Send or SendByPickup submits email to FastSender mail queue. Secondly threading pool retrieves email from mail queue and send it out. Finally OnSent event informs that the email was sent successfully or unsuccessfully.

No. of worker threads in the threading pool of FastSender is automatically adjusted based on the actual usage. The maximum no. of worker threads is up to the value of MaxThread property specified.


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