git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@497
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$pos = 0;
$header["CC"][$pos] = trim(substr($read[$i], 4));
$i++;
$pos = 0;
$header["CC"][$pos] = trim(substr($read[$i], 4));
$i++;
- while ((substr($read[$i], 0, 1) == " ") && (trim($read[$i]) != "")) {
+ while (((substr($read[$i], 0, 1) == " ") || (substr($read[$i], 0, 1) == "\t")) && (trim($read[$i]) != "")){
$pos++;
$header["CC"][$pos] = trim($read[$i]);
$i++;
$pos++;
$header["CC"][$pos] = trim($read[$i]);
$i++;
$pos = 0;
$header["TO"][$pos] = trim(substr($read[$i], 4));
$i++;
$pos = 0;
$header["TO"][$pos] = trim(substr($read[$i], 4));
$i++;
- while ((substr($read[$i], 0, 1) == " ") && (trim($read[$i]) != "")){
+ while (((substr($read[$i], 0, 1) == " ") || (substr($read[$i], 0, 1) == "\t")) && (trim($read[$i]) != "")){
$pos++;
$header["TO"][$pos] = trim($read[$i]);
$i++;
$pos++;
$header["TO"][$pos] = trim($read[$i]);
$i++;
displayPageHeader($color, "None");
//<form method=post action="compose.php?html_addr_search=true">
displayPageHeader($color, "None");
//<form method=post action="compose.php?html_addr_search=true">
$body = stripslashes($body);
$send_to = stripslashes($send_to);
$send_to_cc = stripslashes($send_to_cc);
$body = stripslashes($body);
$send_to = stripslashes($send_to);
$send_to_cc = stripslashes($send_to_cc);