GlobalUnwrappedLineLengthLimit Property
Gets or sets the minimum length of a line which needs wrapping.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public static int UnwrappedLineLengthLimit { get; set; }

Property Value

Type: Int32
The maximum length of unwrapped line of text. The default value is 76.
MailBeeInvalidArgumentExceptionvalue is less than 76 or larger than 255.

This is advanced property needed only when you're re-sending (forwarding) existing messages.

MIME requires body lines be wrapped if they exceed 76 chars. Normally it's not an issue as MailBee automatically wraps all the lines when building the message and this does not cause any artifacts (quoted-printable encoding takes care of this). Sometimes, however, if you have an existing message with no quoted-printable or base64 encoding and with lengthy lines, you may need to increase this value if you want to keep its formatting (avoid adding extra line breaks) after re-sending.

Note Note
Having lines with more than 76 chars is MIME standards violation. When making new messages, you should avoid chaning the default value of this property unless you have a very good reason for this. Again, by default MailBee utilizes quoted-printable encoding to transparently wrap lines without any extra line breaks. You should use this property only if the mail reader of the recipient cannot deal with quoted-printable (or base64).
See Also