From: tokul Date: Wed, 7 Dec 2005 06:49:07 +0000 (+0000) Subject: if we can't open stream. we make up server's error message X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c585e898e798014a5304cd9efeed869216d47a65;p=squirrelmail.git if we can't open stream. we make up server's error message git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10441 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/class/deliver/Deliver_SMTP.class.php b/class/deliver/Deliver_SMTP.class.php index f9039e1e..990f93c8 100644 --- a/class/deliver/Deliver_SMTP.class.php +++ b/class/deliver/Deliver_SMTP.class.php @@ -60,7 +60,7 @@ class Deliver_SMTP extends Deliver { if (!$stream) { $this->dlv_msg = $errorString; $this->dlv_ret_nr = $errorNumber; - $this->dlv_server_msg = ''; + $this->dlv_server_msg = _("Can't open SMTP stream."); return(0); } $tmp = fgets($stream, 1024);