#21901 [NEW]: /Mail/mime.php Undefined property: text, source line 408

From: Date: Mon, 27 Jan 2003 15:25:47 +0000
Subject: #21901 [NEW]: /Mail/mime.php Undefined property: text, source line 408
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12777@lists.php.net to get a copy of this message
From: andres@surf.ee Operating system: linux PHP version: 4.3.0 PHP Bug Type: PEAR related Bug description: /Mail/mime.php Undefined property: text, source line 408 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 bug report at http://bugs.php.net/?id=21901&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21901&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21901&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21901&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21901&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21901&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21901&r=support Expected behavior: http://bugs.php.net/fix.php?id=21901&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21901&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21901&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21901&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21901&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21901&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21901&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21901&r=gnused

« previous php.pear.dev (#12777) next »