瀏覽代碼

fixed bug with authenticated smtp

Luke Ehresman 24 年之前
父節點
當前提交
ff25cb9ce9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/smtp.php

+ 1 - 1
functions/smtp.php

@@ -345,7 +345,7 @@
       $cc_list = getLineOfAddrs($cc);
 
       /** Lets introduce ourselves */
-      if (! isset ($use_authenticated_smtp) && $use_authenticated_smtp == true) {
+      if (! isset ($use_authenticated_smtp) || $use_authenticated_smtp == false) {
          fputs($smtpConnection, "HELO $domain\r\n");
          $tmp = fgets($smtpConnection, 1024);
          errorCheck($tmp, $smtpConnection);