alecpl
2009-12-03 67a081753fefe38aeb8aeee1179312e0cd4185ee
- Net_SMTP 1.3.4


1 files modified
7 ■■■■■ changed files
program/lib/Net/SMTP.php 7 ●●●●● patch | view | raw | blame | history
program/lib/Net/SMTP.php
@@ -226,9 +226,10 @@
    {
        $this->_debug("Send: $data");
        if (PEAR::isError($error = $this->_socket->write($data))) {
            return PEAR::raiseError('Failed to write to socket: ' .
                                    $error->getMessage());
        $error = $this->_socket->write($data);
        if ($error === false || PEAR::isError($error)) {
            $msg = ($error) ? $error->getMessage() : "unknown error";
            return PEAR::raiseError("Failed to write to socket: $msg");
        }
        return true;