From 14c7eedb5b5f141d2396bf71fcbba77127be078e Mon Sep 17 00:00:00 2001 From: lkehresman Date: Fri, 13 Apr 2001 16:05:07 +0000 Subject: [PATCH] small fix to authenticated smtp git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1227 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/smtp.php b/functions/smtp.php index 6b533787..87580db5 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -322,7 +322,7 @@ function sendSMTP($t, $c, $b, $subject, $body, $more_headers) { global $username, $popuser, $domain, $version, $smtpServerAddress, $smtpPort, - $data_dir, $color, $use_authenticating_smtp; + $data_dir, $color, $use_authenticated_smtp; $to = expandAddrs(parseAddrs($t)); $cc = expandAddrs(parseAddrs($c)); @@ -345,7 +345,7 @@ $cc_list = getLineOfAddrs($cc); /** Lets introduce ourselves */ - if (! isset ($use_authenticating_smtp)) { + if (! isset ($use_authenticated_smtp) && $use_authenticated_smtp == true) { fputs($smtpConnection, "HELO $domain\r\n"); $tmp = fgets($smtpConnection, 1024); errorCheck($tmp, $smtpConnection); -- 2.25.1