|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: andres at surf dot ee
New email:
PHP Version: OS:


 [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