Outlook转发从电子邮件中删除内容

时间:2018-10-08 16:49:05

标签: html css email outlook pardot

我已经用Pardot构建/拼凑了一封电子邮件。电子邮件工作正常,直到有人收到转发,然后整个标题部分都消失了;图像,背景色,文本等。

这是我的代码,有什么建议吗?我的html / css技能还不够好,请提前道歉。

<tr pardot-repeatable="Hero Banner Section" style="width: 650px;" width="650px">
                </tr>
                <tr>
                    <td class="pattern" width="650" align="center">
                    <table cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr>
                                <td class="col" style="background-color: #f6f6f6;" width="325" valign="top" height="275">
                                <table cellspacing="0" cellpadding="0">
                                    <tbody>
                                        <tr>
                                            <td class="headline" pardot-region="pardot" style="font-family: Open Sans,sans-serif; font-size: 14px; font-weight: 800; color: #333; padding-top: 2rem; padding-left: 20px;" align="left">Join us in Tampa, FL</td>
                                        </tr>
                                        <tr>
                                            <td class="webinar_title" pardot-region="pardot" style="font-family: Open Sans,sans-serif; font-size: 24px; font-weight: 800; line-height: 2rem !important; color: #ea8c2a; padding-top: 10px; padding-right: 20px; padding-left: 20px;" align="left">2019 DATIS<br>
                                            Client Summit</td>
                                        </tr>
                                        <tr>
                                            <td class="time" pardot-region="pardot" style="font-family: Open Sans,sans-serif; font-size: 1rem; font-weight: 800; line-height: 1.5rem !important; color: #333333; padding-top: 10px; padding: 20px 20px 20px 20px" align="left">February 27 - March 1</td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: center;">
                                            <div><a href="https://www.eventbrite.com/e/datis-client-summit-2019-tickets-49692846642" style="background-color:#ea8c2a;border:1px solid #ea8c2a;border-radius:4px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:13px;font-weight:bold;line-height:40px;text-align:center;text-decoration:none;width:200px; margin:20px;-webkit-text-size-adjust:none;">Register Now</a></div>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                                </td>
                                <td class="col" width="325px" valign="top">
                                <table cellspacing="0" cellpadding="0">
                                    <tbody>
                                        <tr>
                                            <td class="hero_image" style="background-color: #f6f6f6;"><img alt="" src="http://go.datis.com/l/106012/2018-10-05/4jdtys/106012/102359/SummitEMC_HeroRight_2.jpg" style="display: block; border: 0px;" width="325" height="275"></td>
                                        </tr>
                                    </tbody>
                                </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    </td>
                </tr>
            </tbody>
        </table>
        </td>
    </tr>

1 个答案:

答案 0 :(得分:0)

根据要测试的代码,您可以将代码更改为以下代码(我将HTML代码放在.html文件中):

Navigation Timeout Exceeded: 30000ms exceeded

这是我的C#代码的一部分:

<!DOCTYPE HTML>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title></title>

</head>
<body style="margin:0; padding:0; background-color:#FFFFFF;">

  <table width="640" cellspacing="0" cellpadding="0" border="0" align="center" style="max-width:640px; width:100%; background-position:right top !important; background-size:cover !important;"  bgcolor="#006554">
    <tbody>
      <tr pardot-repeatable="Hero Banner Section" style="width: 650px;" width="650px">
      </tr>
      <tr>
          <td class="pattern" width="650" align="center">
          <table cellspacing="0" cellpadding="0">
              <tbody>
                  <tr>
                      <td class="col" style="background-color: #f6f6f6;" width="325" valign="top" height="275">
                      <table cellspacing="0" cellpadding="0">
                          <tbody>
                              <tr>
                                  <td class="headline" pardot-region="pardot" style="font-family: Open Sans,sans-serif; font-size: 14px; font-weight: 800; color: #333; padding-top: 2rem; padding-left: 20px;" align="left">Join us in Tampa, FL</td>
                              </tr>
                              <tr>
                                  <td class="webinar_title" pardot-region="pardot" style="font-family: Open Sans,sans-serif; font-size: 24px; font-weight: 800; line-height: 2rem !important; color: #ea8c2a; padding-top: 10px; padding-right: 20px; padding-left: 20px;" align="left">2019 DATIS<br>
                                  Client Summit</td>
                              </tr>
                              <tr>
                                  <td class="time" pardot-region="pardot" style="font-family: Open Sans,sans-serif; font-size: 1rem; font-weight: 800; line-height: 1.5rem !important; color: #333333; padding-top: 10px; padding: 20px 20px 20px 20px" align="left">February 27 - March 1</td>
                              </tr>
                              <tr>
                                  <td style="text-align: center;">
                                  <div><a href="https://www.eventbrite.com/e/datis-client-summit-2019-tickets-49692846642" style="background-color:#ea8c2a;border:1px solid #ea8c2a;border-radius:4px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:13px;font-weight:bold;line-height:40px;text-align:center;text-decoration:none;width:200px; margin:20px;-webkit-text-size-adjust:none;">Register Now</a></div>
                                  </td>
                              </tr>
                          </tbody>
                      </table>
                      </td>
                      <td class="col" width="325px" valign="top">
                        <table cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td class="hero_image" style="background-color: #f6f6f6;"><img alt="" src="http://go.datis.com/l/106012/2018-10-05/4jdtys/106012/102359/SummitEMC_HeroRight_2.jpg" style="display: block; border: 0px;" width="325" height="275"></td>
                                </tr>
                            </tbody>
                        </table>
                      </td>
                  </tr>
              </tbody>
          </table>
          </td>
      </tr>
    </tbody>
  </table>
</body>
</html>

这是我的结果:

enter image description here