SmtpServerPauseInterval Property |
Gets or sets the amount of time MailBee must wait prior to connecting to the server after last disconnection from this server.
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public int PauseInterval { get; set; }
Public Property PauseInterval As Integer
Get
Set
Property Value
Type:
Int32Non-negative integer specifying the mimimum amount of time (in milliseconds) between disconnection from the server and subsequent connection attempt to the same server.
The default value is 0 (no waiting required).
Exceptions Remarks
To prevent abuse or spam, many mail servers limit the maximum number of connection attempts per minute (or per hour, day, etc) from a single client IP address.
The number of e-mail submissions to the server within a single session may also be restricted (see
MaxSendPerSessionCount property).
The developer can use
PauseInterval property to force MailBee to make connections with the server less frequently.
For instance, if the server accepts not more than 20 connections per minute from a single IP address, the developer should set
PauseInterval value to at least 3000
(3000 * 20 = 60000 milliseconds = 1 minute).
See Also