MailBee.NET Objects 4.0

Global.TcpBufSize Property

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

public static int TcpBufSize {get; set;}

Property Value

The default size (in bytes) of TCP buffer. The default value is 8192.

Remarks

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

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

Exceptions

Exception TypeCondition
MailBeeInvalidArgumentExceptionvalue is less than 1.

See Also

Global Class | MailBee Namespace