Тема: Не коректно відправляється лист на gmail
Привіт, я витягую з бази дані і відправляю на почту (гмаил), справа в тому що при отриманні листа я спостерігаю що в листі з'їзджає таблиця, додається незрозуміло чому "!", нові "<td></td>"...
Пробував навіть так:
[code=PHP]
$subject = 'Напоминание об неотправленных запросах';
$message = "<table id='parts' style='width: 100%; margin-top: 25px;'><tr style='background-color: ;'><th>Бренд</th><th>Номер запчасти</th><th>Количество</th></tr>
";
$message .= "<tr><td>1fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$message .= "<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
$headers = "Content-type: text/html; charset=utf-8";
mail('faraon@gmail.com', $subject, $message, $headers);
[/code]
всі (крім 1 строки)
"<tr><td>fgdfg3fsdgdfg</td><td>retgertdfg443</td><td>fdgdfgfhfghgd43t3t34t</td></tr>";
є одинакові, але коли ми отримаємо листа то побачимо інше... чому? скрін додаю.