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

Nonsense. There's a "-i" switch to sendmail that will make it ignore
lines with a period in the input. It should just be a matter of adding
this switch to the appropriate configuration setting in your php3.ini.

Jim

On Mar 27, Bug Database wrote:
> 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>
>
>

--
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>