Summery Summery

Normalize line breaks in a string.

Syntax Syntax

PHPMailer::normalizeBreaks( string $text, string $breaktype = "rn" )

Description Description

Converts UNIX LF, Mac CR and Windows CRLF line breaks into a single line break format. Defaults to CRLF (for message bodies) and preserves consecutive breaks.

Parameters Parameters


(string) (Required)


(string) (Optional) What kind of line break to use, defaults to CRLF

Default value: "rn"

Return Return


Source Source

File: wp-includes/class-phpmailer.php




Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.