From f89627f3af903213dd1936418db524ab379e1544 Mon Sep 17 00:00:00 2001 From: fidian Date: Fri, 9 Mar 2001 13:51:16 +0000 Subject: [PATCH] * Added spaces so the SMTP server gets the data correctly git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1188 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/smtp.php b/functions/smtp.php index 55c923e2..15193fdf 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -354,7 +354,7 @@ errorCheck($tmp, $smtpConnection); /** Ok, who is sending the message? */ - fputs($smtpConnection, "MAIL FROM:<$from_addr>\r\n"); + fputs($smtpConnection, "MAIL FROM: <$from_addr>\r\n"); $tmp = fgets($smtpConnection, 1024); errorCheck($tmp, $smtpConnection); @@ -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