fixed bug with authenticated smtp
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 13 Apr 2001 22:49:22 +0000 (22:49 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 13 Apr 2001 22:49:22 +0000 (22:49 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1228 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/smtp.php

index 87580db..99fc019 100644 (file)
       $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);