|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21901 /Mail/mime.php Undefined property: text, source line 408
Submitted: 2003-01-27 09:25 UTC Modified: 2003-02-14 10:38 UTC
From: andres at surf dot ee Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.3.0 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
34 - 19 = ?
Subscribe to this entry?

 [2003-01-27 09:25 UTC] andres at surf dot ee
My source code:
$mimetext = new Mail_mime($crlf);

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-14 10:38 UTC]
This bug has been fixed in CVS.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 15:03:33 2021 UTC