public function PHPMailer::encodeQP

5.x PHPMailer.php public PHPMailer::encodeQP($string)

Encode a string in quoted-printable format. According to RFC2045 section 6.7.

Parameters

string $string The text to encode:

Return value

string

1 call to PHPMailer::encodeQP()
PHPMailer::encodeString in inc/PHPMailer/src/PHPMailer.php
Encode a string in requested format. Returns an empty string on failure.

File

inc/PHPMailer/src/PHPMailer.php, line 3262

Class

PHPMailer
PHPMailer - PHP email creation and transport class.

Namespace

PHPMailer\PHPMailer

Code

public function encodeQP($string) 
 {
  return static::normalizeBreaks(quoted_printable_encode($string));
}