cvs: php4 /pear/Mail mimePart.php
| From: | Richard Heyes | Date: | Thu, 08 Nov 2001 22:07:11 +0000 |
| Subject: | cvs: php4 /pear/Mail mimePart.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1284@lists.php.net to get a copy of this message | ||
heyesr Thu Nov 8 17:07:11 2001 EDT
Modified files:
/php4/pear/Mail mimePart.php
Log:
Compatibility with broken mailers
Index: php4/pear/Mail/mimePart.php
diff -u php4/pear/Mail/mimePart.php:1.3 php4/pear/Mail/mimePart.php:1.4
--- php4/pear/Mail/mimePart.php:1.3 Sat Oct 27 14:13:30 2001
+++ php4/pear/Mail/mimePart.php Thu Nov 8 17:07:11 2001
@@ -73,7 +73,7 @@
* re-build the message.
*
* @author Richard Heyes <richard@phpguru.org>
-* @version $Revision: 1.3 $
+* @version $Revision: 1.4 $
* @package Mail
*/
@@ -200,7 +200,7 @@
if (!empty($this->_subparts)) {
srand((double)microtime()*1000000);
$boundary = '=_' . md5(uniqid(rand()) . microtime());
- $this->_headers['Content-Type'] .= ';' . MAIL_MIMEPART_CRLF .
chr(9) . 'boundary="' . $boundary . '"';
+ $this->_headers['Content-Type'] .= '; ' .
'boundary="' . $boundary . '"';
// Add body parts to $subparts
for ($i = 0; $i < count($this->_subparts); $i++) {