PHPMailer::Base64EncodeWrapMB
Correctly encodes and wraps long multibyte strings for mail headers without breaking lines within a character.
Adapted from a function by paravoid at http://uk.php.net/manual/en/function.mb-encode-mimeheader.php
Signature
public function Base64EncodeWrapMB(string
$str,
[string
$lf = null] )
Parameters
-
$str
- multi-byte text to wrap encode
-
$lf
- string to use as linefeed/end-of-line
Returns
- string