PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail_Mime » Bug #695

Can't send text only messages

Details

Submitted2004-02-06 10:35 UTC
Frommax at publi-x dot de
Assignedgschlossnagle
StatusClosed
PackageMail_Mime
PHP Version4.3.4
OSLinux
Roadmaps(Not assigned)

Comments

[2004-02-06 10:35 UTC] max at publi-x dot de

Description:
------------
Can't send a message that just contains a Text Body.

The bug is quite simple to fix:

Mail/mime.php line 408:

change form
$message =& $this->_addTextPart($null, $this->text);

to
$message =& $this->_addTextPart($null, $this->_txtbody);

[2004-02-17 01:10 UTC] pear-dev at mocsnik dot hu

Reviewed. In 1.1+ (1.1, 1.2, 1.2.1) it's done. Maybe it was in version 1.0 of the package. Which version of the package are you using?

Anyways, http://pear.php.net/get/Mail_Mime-1.0.tgz seems to be corrupt, this is why I couldn't check it's really a "1.0 only" issue.

Regards,
Norbert Mocsnik

[2004-02-25 18:28 UTC] gschlossnagle at php dot net

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.