PHPMailer::EncodeString
Encodes string to requested format.
Returns an empty string on failure.
Signature
public function EncodeString(string
$str,
[string
$encoding = 'base64'] )
Parameters
-
$str
- The text to encode
-
$encoding
- The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable'
Returns
- string