#21901 [Opn->Csd]: /Mail/mime.php Undefined property: text, source line 408
| From: | mj@php.net | Date: | Fri, 14 Feb 2003 16:38:17 +0000 |
| Subject: | #21901 [Opn->Csd]: /Mail/mime.php Undefined property: text, source line 408 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13301@lists.php.net to get a copy of this message | ||
ID: 21901
Updated by: mj@php.net
Reported By: andres@surf.ee
-Status: Open
+Status: Closed
Bug Type: PEAR related
Operating System: linux
PHP Version: 4.3.0
New Comment:
This bug has been fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2003-01-27 09:25:47] andres@surf.ee
My source code:
$mimetext = new Mail_mime($crlf);
$mimetext->setTXTBody($textbody);
error from log file (clean 4.3.0 install):
PHP Notice: Undefined property: text in
/usr/local/lib/php/Mail/mime.php on line 408
Causing my text based emails to be empty.
Source reads (line 408):
$message =& $this->_addTextPart($null, $this->text);
Fixed it to
$message =& $this->_addTextPart($null, $this->_txtbody);
After fix, everything is back to old behaviour.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21901&edit=1