Re: Bug #1268 Updated: The mail() function doesn't correctly escape lines with only a dot in them

From: Date: Sat, 27 Mar 1999 19:01:40 +0000
Subject: Re: Bug #1268 Updated: The mail() function doesn't correctly escape lines with only a dot in them
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-4788@lists.php.net to get a copy of this message
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@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 > > -- 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

« previous php.dev (#4788) next »