MailBee.NET Objects 4.0

Global.MaxMultiLineDataLength Property

Gets or sets the maximum length (in bytes) of the multi-line data (request to a server or response from a server) which will be inserted into the log without truncation.

public static int MaxMultiLineDataLength {get; set;}

Property Value

An integer value containing the maximum length (in bytes) of the multi-line data (request to a server or response from a server) which will be inserted into the log without truncation. The default value is 256.

Remarks

This property allows the developer to limit the maximum length of large textual data (such as client requests and server responses) to be inserted in the log. This parameter has no effect if logging is not used.

Note   POP3 requests and SMTP responses are always printed into the log completely. This is because POP3 requests and SMTP responses are small, and all the information in this data is very important and should not be truncated.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException value is negative.

See Also

Global Class | MailBee Namespace