From b4338e6716ea0e3b47ee2d0acd0dd2eaf6ba7290 Mon Sep 17 00:00:00 2001 From: pallo Date: Fri, 9 Mar 2001 14:05:18 +0000 Subject: [PATCH] Removed extra <> around RCPT TO addresses that made some mail-servers fail. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1189 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 15193fdf..4c15c2c9 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -365,12 +365,12 @@ errorCheck($tmp, $smtpConnection); } for ($i = 0; $i < count($cc); $i++) { - fputs($smtpConnection, "RCPT TO: <$cc[$i]>\r\n"); + fputs($smtpConnection, "RCPT TO: $cc[$i]\r\n"); $tmp = fgets($smtpConnection, 1024); errorCheck($tmp, $smtpConnection); } for ($i = 0; $i < count($bcc); $i++) { - fputs($smtpConnection, "RCPT TO: <$bcc[$i]>\r\n"); + fputs($smtpConnection, "RCPT TO: $bcc[$i]\r\n"); $tmp = fgets($smtpConnection, 1024); errorCheck($tmp, $smtpConnection); } -- 2.25.1