|
@@ -354,7 +354,7 @@
|
|
errorCheck($tmp, $smtpConnection);
|
|
errorCheck($tmp, $smtpConnection);
|
|
|
|
|
|
/** Ok, who is sending the message? */
|
|
/** 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);
|
|
$tmp = fgets($smtpConnection, 1024);
|
|
errorCheck($tmp, $smtpConnection);
|
|
errorCheck($tmp, $smtpConnection);
|
|
|
|
|
|
@@ -365,12 +365,12 @@
|
|
errorCheck($tmp, $smtpConnection);
|
|
errorCheck($tmp, $smtpConnection);
|
|
}
|
|
}
|
|
for ($i = 0; $i < count($cc); $i++) {
|
|
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);
|
|
$tmp = fgets($smtpConnection, 1024);
|
|
errorCheck($tmp, $smtpConnection);
|
|
errorCheck($tmp, $smtpConnection);
|
|
}
|
|
}
|
|
for ($i = 0; $i < count($bcc); $i++) {
|
|
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);
|
|
$tmp = fgets($smtpConnection, 1024);
|
|
errorCheck($tmp, $smtpConnection);
|
|
errorCheck($tmp, $smtpConnection);
|
|
}
|
|
}
|