[PHP-DEV] Bug #1268 Updated: The mail() function doesn't correctly escape lines with only a dot in them From: Bug Database (php-dev <email protected>)
Date: 03/27/99

ID: 1268
Updated by: sas
Reported By: hrabbach <email protected>
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:

You cannot escape single dots without proper MIME encodings. But you can send MIME formatted messages through mail(), for example:

$data = "some lines\n.\n";

mail($to, $from,
chunk_split(base64_encode($data)),
"MIME-Version: 1.0\r\n".
"Content-transfer-encoding: base64\r\n".
"Content-type: application/x-propietary");

Full Bug description available at: http://ca.php.net/bugs.php3?id=1268

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>