2 Bug #11731 Full stops after soft line breaks are not encoded
6 include("Mail/mime.php");
7 // Second full stop will be at the start of the second line after quoted-printable
8 // encoding (full stop '=2E' + 72 characters + line-continuation '=' = 76)
9 $text = '.123456789012345678901234567890123456789012345678901234567890123456789012.3456';
11 'content_type' => 'text/plain',
12 'encoding' => 'quoted-printable',
14 $mimePart = new Mail_mimePart($text, $params);
15 $encoded = $mimePart->encode();
16 echo $encoded['body'];
19 =2E123456789012345678901234567890123456789012345678901234567890123456789012=