summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
704db5b)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1171
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$ret .= '<'.$result['email'].'>';
$array[$i] = $ret;
}
$ret .= '<'.$result['email'].'>';
$array[$i] = $ret;
}
+ else
+ {
+ $array[$i] = '<' . $array[$i] . '>';
+ }
$header .= "Date: $date\r\n";
$header .= "Subject: $subject\r\n";
$header .= "From: $from\r\n";
$header .= "Date: $date\r\n";
$header .= "Subject: $subject\r\n";
$header .= "From: $from\r\n";
- $header .= "To: $to_list \r\n"; // Who it's TO
+ $header .= "To: $to_list\r\n"; // Who it's TO
/* Insert headers from the $more_headers array */
if(is_array($more_headers)) {
/* Insert headers from the $more_headers array */
if(is_array($more_headers)) {
/** send who the recipients are */
for ($i = 0; $i < count($to); $i++) {
/** send who the recipients are */
for ($i = 0; $i < count($to); $i++) {
- fputs($smtpConnection, "RCPT TO:<$to[$i]>\r\n");
+ fputs($smtpConnection, "RCPT TO: $to[$i]\r\n");
$tmp = fgets($smtpConnection, 1024);
errorCheck($tmp, $smtpConnection);
}
$tmp = fgets($smtpConnection, 1024);
errorCheck($tmp, $smtpConnection);
}