diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-26 07:10:52 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-26 07:10:52 +0000 |
| commit | 100def3febac78d5f05affc1c50a726d17fbdbcd (patch) | |
| tree | 0a0e08ba95342cb0d561b5fab1c132a12c484e03 | |
| parent | 09d1c0af2cbb6d4dba079298b078cb7a12d540f8 (diff) | |
- fix error message on SMTP oversize error (#1486754)
git-svn-id: https://svn.roundcube.net/trunk@3665 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/include/rcube_smtp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_smtp.php b/roundcubemail/program/include/rcube_smtp.php index bdb87df31..447143500 100644 --- a/roundcubemail/program/include/rcube_smtp.php +++ b/roundcubemail/program/include/rcube_smtp.php @@ -242,7 +242,7 @@ class rcube_smtp if (PEAR::isError($result = $this->conn->data($data, $text_headers))) { $err = $this->conn->getResponse(); - if (count($err)>1 && $err[0] != 354 && $err[0] != 250) + if (!in_array($err[0], array(354, 250, 221))) $msg = sprintf('[%d] %s', $err[0], $err[1]); else $msg = $result->getMessage(); |
