Sfoglia il codice sorgente

fixed bug with authenticated smtp

Luke Ehresman 24 anni fa
parent
commit
ff25cb9ce9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      functions/smtp.php

+ 1 - 1
functions/smtp.php

@@ -345,7 +345,7 @@
       $cc_list = getLineOfAddrs($cc);
       $cc_list = getLineOfAddrs($cc);
 
 
       /** Lets introduce ourselves */
       /** 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");
          fputs($smtpConnection, "HELO $domain\r\n");
          $tmp = fgets($smtpConnection, 1024);
          $tmp = fgets($smtpConnection, 1024);
          errorCheck($tmp, $smtpConnection);
          errorCheck($tmp, $smtpConnection);