if we can't open stream. we make up server's error message
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 7 Dec 2005 06:49:07 +0000 (06:49 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 7 Dec 2005 06:49:07 +0000 (06:49 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10441 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/deliver/Deliver_SMTP.class.php

index f9039e1..990f93c 100644 (file)
@@ -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);