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.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.1 build 666 for .NET 4.5
public int PauseInterval { get; set; }

Property Value

Type: Int32
Non-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).
MailBeeInvalidArgumentExceptionvalue is negative.
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