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

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

Property Value

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

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