Bug #17982 [Opn->Dup]: data function unable to send data since size is not allways defined

From: Date: Thu, 21 Oct 2010 16:55:30 +0000
Subject: Bug #17982 [Opn->Dup]: data function unable to send data since size is not allways defined
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-4953@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=17982&edit=1 ID: 17982 Updated by: jon@php.net Reported By: hmpf1 at hotmail dot com Summary: data function unable to send data since size is not allways defined -Status: Open +Status: Duplicate Type: Bug Package: Net_SMTP Operating System: Gentoo Package Version: 1.4.3 PHP Version: Irrelevant -Assigned To: +Assigned To: jon Roadmap Versions: New Comment: -Status: Open +Status: Duplicate -Assigned To: +Assigned To: jon Previous Comments: ------------------------------------------------------------------------ [2010-10-21 16:55:18] jon Duplicate of bug #17942. ------------------------------------------------------------------------ [2010-10-21 15:01:02] bjornjohansson Description: ------------ Impossible to send data since $size is not always set in function data, se actual result for further information Actual result: -------------- In the "function data($data, $headers = null)" Prerequisites * The $data argument is not a resource * (isset($this->_esmtp['SIZE']) && ($this->_esmtp['SIZE'] > 0)) is not fulfilled Consequence variable $size will never be defined yielding it impossible to send the data since running the loop "for ($offset = 0; $offset < $size;) " is not possible ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=17982&edit=1

« previous php.pear.bugs (#4953) next »