* Added spaces so the SMTP server gets the data correctly
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 9 Mar 2001 13:51:16 +0000 (13:51 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 9 Mar 2001 13:51:16 +0000 (13:51 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1188 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/smtp.php

index 55c923e238cca3ce9885bb842db6bb4f59697e0f..15193fdfded9a79de5f09250178de89703c26e7a 100644 (file)
       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);
 
          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);
       }