GlobalTcpBufSize Property
Gets or sets the default size (in bytes) of TCP buffer.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.1 build 666 for .NET 4.5
public static int TcpBufSize { get; set; }

Property Value

Type: Int32
The default size (in bytes) of TCP buffer. The default value is 65536.
MailBeeInvalidArgumentExceptionvalue is less than 1.

The developer may consider to reduce this value to make MailBee raise DateReceived, DateSent, and similar events more often.

Increasing this property value may improve performance because MailBee will send and receive data in larger chunks.

In case of sending e-mail messages via SMTP, it can sometimes make sense to set individual TCP chunk size for particular connections. See TcpBufSize property for details.

See Also