From 7ea9b524a2c3525d0355fc47628209a5fbe4b83a Mon Sep 17 00:00:00 2001 From: thomasb Date: Fri, 23 Apr 2010 14:25:28 +0000 Subject: Add class docuumentation blocks and make phpdoc work again git-svn-id: https://svn.roundcube.net/trunk@3559 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_smtp.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'roundcubemail/program/include/rcube_smtp.php') diff --git a/roundcubemail/program/include/rcube_smtp.php b/roundcubemail/program/include/rcube_smtp.php index 1dfe222d5..bdb87df31 100644 --- a/roundcubemail/program/include/rcube_smtp.php +++ b/roundcubemail/program/include/rcube_smtp.php @@ -5,7 +5,7 @@ | program/include/rcube_smtp.php | | | | This file is part of the RoundCube Webmail client | - | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland | + | Copyright (C) 2005-2010, RoundCube Dev. - Switzerland | | Licensed under the GNU GPL | | | | PURPOSE: | @@ -22,7 +22,15 @@ // define headers delimiter define('SMTP_MIME_CRLF', "\r\n"); -class rcube_smtp { +/** + * Class to provide SMTP functionality using PEAR Net_SMTP + * + * @package Mail + * @author Thomas Bruederli + * @author Aleksander Machniak + */ +class rcube_smtp +{ private $conn = null; private $response; @@ -124,7 +132,7 @@ class rcube_smtp { $this->error = array('label' => 'smtpautherror', 'vars' => array('code' => $this->conn->_code)); $this->response[] .= 'Authentication failure: ' . $result->getMessage() . ' (Code: ' . $result->getCode() . ')'; $this->reset(); - $this->disconnect(); + $this->disconnect(); return false; } } -- cgit v1.2.3