PHPMailer::normalizeBreaks

Advertisement

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

$text

(Required)

$breaktype

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

Default value: "rn"

Return Return

(string)

Source Source

File: wp-includes/class-phpmailer.php


			

Advertisement

Advertisement

Leave a Reply