yllar
2006-12-16 77c28206a14b5bee3f3091f10cffd531bce5649c
program/lib/Net/SMTP.php
@@ -760,7 +760,7 @@
     * @access public
     * @since  1.0
     */
    function data($data)
    function data(&$data)
    {
        /* RFC 1870, section 3, subsection 3 states "a value of zero
         * indicates that no fixed maximum message size is in force".
@@ -784,7 +784,8 @@
            return $error;
        }
        if (PEAR::isError($result = $this->_send($data . "\r\n.\r\n"))) {
        $data .= "\r\n.\r\n";
        if (PEAR::isError($result = $this->_send($data))) {
            return $result;
        }
        if (PEAR::isError($error = $this->_parseResponse(250))) {