Письма в формате HTML не отображаются должным образом в Outlook, но отлично работают в gmail. Что мне делать?html не подходит должным образом в Outlook
Существует дизайн перерыв в перспективе ..
Вот HTML код:
strEmailBody = strEmailBody + " <table id=\"table_banner\" cellspacing=\"10\" cellpadding=\"0\" width=\"100%\" align=\"left\" bgcolor=\"#09355A\" border=\"0\" style=\"padding-bottom: 8px; margin-bottom: 12px;\">";
strEmailBody = strEmailBody + "<tr><td >";
strEmailBody = strEmailBody + "<span style=\"font-family: Arial,Helvetica,sans-serif;font-size: 52px;color:white;\"><strong>Family</strong>Connect<sup style=\"font-size: 20px;\">®</sup></span>";
//strEmailBody = strEmailBody + "<span style=\"FONT-SIZE: 10PX;FONT-WEIGHT: BOLD;vertical-align: text-top; bottom: 1ex;color:white;position:relative; bottom: 2.3em;\">TM</span>";
strEmailBody = strEmailBody + " <p style=\"border-bottom: 3px solid #ee7701;border-bottom-color: #ee7701;margin-bottom: 10px;margin-top: 4px;\"></p> ";
strEmailBody = strEmailBody + "<span style=\"font-size: 15px;font-family: Arial,Helvetica,sans-serif; color:white;\">For parents of children with visual impairments </span>";
strEmailBody = strEmailBody + "</td></tr>";
strEmailBody = strEmailBody + "</table>";
strEmailBody = strEmailBody + "<br><br>A new Blog Entry has been posted on the \"" + strBlogName + "\": <br><br>";
strEmailBody = strEmailBody + " <br><br><p>You are receiving this message because you signed up to receive e-mail alerts whenever there is new activity on this blog. You can ";
strEmailBody = strEmailBody + "the " + strUnsubscribeLink + "unsubscribe" + "</a>" + " at any time. ";
strEmailBody = strEmailBody + " This email was delivered to you by the American Foundation for the Blind. Replies to this email address cannot be answered. For questions/concerns email us at <a href=\"mailto:[email protected]\">[email protected]</a>.</p>";
выше фото кругозора.
no.2 изображение для Gmail ..
Что делать ???
Скопировать значение strEmailBody в html validator (принять значение с помощью отладки). Также покажите, как вы создаете письмо – mybirthname