Click or drag to resize

NewLineFormat Enumeration

A New-Line format.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
public enum NewLineFormat
Member nameValueDescription
Unix0 The Unix New-Line format ("\n").
Dos1 The DOS New-Line format ("\r\n").
Mixed2 A mixed New-Line format where some lines use Unix-based line endings and other lines use DOS-based line endings.
There are two commonly used line-endings used by modern Operating Systems. Unix-based systems such as Linux and Mac OS use a single character ('\n' aka LF) to represent the end of line where-as Windows (or DOS) uses a sequence of two characters ("\r\n" aka CRLF). Most text-based network protocols such as SMTP, POP3, and IMAP use the CRLF sequence as well.
See Also