Home » Mail » Mail » Bug #5190
echo command in smtp.php 1.22
Details
| Submitted | 2005-08-23 20:40 UTC |
|---|---|
| From | auzzie at gmail dot com |
| Assigned | jon |
| Status | Closed |
| Package | |
| PHP Version | Irrelevant |
| OS | gentoo linux |
| Roadmaps | (Not assigned) |
Comments
[2005-08-23 20:40 UTC] auzzie at gmail dot com
Description:
------------
On line 270 of smtp.php version 1.22 there is an echo command, which seems out of place in a library. In my programs it causes:
Cannot modify header information - headers already sent by (output started at /usr/lib/php/Mail/smtp.php:270)
smtp.php relevent section:
/* If persistent connections are disabled, destroy our SMTP object. */
if ($this->persist === false) {
echo "Disconnecting\n";
$this->_smtp->disconnect();
$this->_smtp = null;
}
http://cvs.php.net/co.php/pear/Mail/Mail/smtp.php?r=1.22#270