Bug #1268 Updated: The mail() function doesn't correctly escape lines with only a dot in them
| From: | Bug Database | Date: | Sat, 27 Mar 1999 16:12:37 +0000 |
| Subject: | Bug #1268 Updated: The mail() function doesn't correctly escape lines with only a dot in them | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4786@lists.php.net to get a copy of this message | ||
ID: 1268
Updated by: sas
Reported By: hrabbach@wupperonline.de
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@lists.php.net
For help: php-dev-help@lists.php.net