2016-04-22 102 views
0

問題

您是否知道它們是否使用Gmail保留郵件預覽(以像素或字符數爲單位)的HTML限制大小?Gmail HTML長度限制


起源問題

在下面的圖片:

  • 15:38收到的電子郵件是顯示爲...
  • 電子郵件在15:46收到顯示在預覽中。

唯一的區別是郵件內容的大小。

enter image description here


最後,如果它可以幫助,在15:38郵件

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html> 
 
    <head> 
 
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
 
    </head> 
 
    <body style="margin: 0; padding: 0; font-size: 100%; font-family: 'Avenir Next', 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; line-height: 1.65; width: 100%; height: 100%; background: #efefef; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> 
 
     <table class="body-wrap" style="margin: 0; padding: 0; font-size: 100%; font-family: 'Avenir Next', 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; line-height: 1.65; width: 100%; height: 100%; background: #efefef; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> 
 
     <tr> 
 
      <td class="container" style="display: block; clear: both; margin: 0 auto; max-width: 580px;"> 
 
       <table style="border-collapse: collapse; width: 100%;"> 
 
        <tr> 
 
        <td align="center" class="masthead" style="padding: 10px 0; background: #C50929; color: white;"> 
 
         <h1 style="margin-bottom: 20px; line-height: 1.25; font-size: 32px; max-width: 90%; text-transform: uppercase; margin: 0 auto;">IDÉAL CARGO<br>Trailer demand</h1> 
 
        </td> 
 
        </tr> 
 
        <tr> 
 
        <td class="content" style="background: white; padding: 10px 35px;"> 
 
         <h3 style="margin-bottom: 20px; line-height: 1.25; font-size: 24px;">Customer request</h3> 
 
         <table class="display_info" style="border-collapse: collapse; width: 100%;"> 
 
          <tr style="color: #666B85; border-top: none;"> 
 
           <td align="left" style="padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); background: #EBEBEB;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Trailer </p> 
 
           </td> 
 
           <td align="left" style="padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-right: 0px; background: #EBEBEB;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Classic </p> 
 
           </td> 
 
          </tr> 
 
          <tr style="border-top: 1px solid #C1C3D1; color: #666B85;"> 
 
           <td align="left" style="background: #FFFFFF; padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1);"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Zone </p> 
 
           </td> 
 
           <td align="left" style="background: #FFFFFF; padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-right: 0px;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Sport Zone </p> 
 
           </td> 
 
          </tr> 
 
          <tr style="border-top: 1px solid #C1C3D1; color: #666B85;"> 
 
           <td align="left" style="padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); background: #EBEBEB;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Dealer </p> 
 
           </td> 
 
           <td align="left" style="padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-right: 0px; background: #EBEBEB;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> ATTACHES CHATEAUGUAY </p> 
 
           </td> 
 
          </tr> 
 
          <tr style="border-top: 1px solid #C1C3D1; color: #666B85;"> 
 
           <td align="left" style="background: #FFFFFF; padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1);"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Question </p> 
 
           </td> 
 
           <td align="left" style="background: #FFFFFF; padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-right: 0px;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Blablabla aljfn uh iq fiqbef jhbh hh qjhe bwrh piv paiueh fak zcyb hzph paub ya pbh au dhalsk pvy^tefs </p> 
 
           </td> 
 
          </tr> 
 
          <tr style="border-top: 1px solid #C1C3D1; color: #666B85;"> 
 
           <td align="left" style="padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); background: #EBEBEB;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Name </p> 
 
           </td> 
 
           <td align="left" style="padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-right: 0px; background: #EBEBEB;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Grand schtroumpf </p> 
 
           </td> 
 
          </tr> 
 
          <tr style="border-top: 1px solid #C1C3D1; color: #666B85;"> 
 
           <td align="left" style="background: #FFFFFF; padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1);"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Email </p> 
 
           </td> 
 
           <td align="left" style="background: #FFFFFF; padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-right: 0px;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> [email protected] </p> 
 
           </td> 
 
          </tr> 
 
          <tr style="border-top: 1px solid #C1C3D1; color: #666B85;"> 
 
           <td align="left" style="padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); background: #EBEBEB;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Phone </p> 
 
           </td> 
 
           <td align="left" style="padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-right: 0px; background: #EBEBEB;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> 123 456 789 </p> 
 
           </td> 
 
          </tr> 
 
          <tr style="border-top: 1px solid #C1C3D1; color: #666B85; border-bottom: none;"> 
 
           <td align="left" style="background: #FFFFFF; padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-bottom-left-radius: 3px;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> City </p> 
 
           </td> 
 
           <td align="left" style="background: #FFFFFF; padding: 5px; text-align: left; vertical-align: middle; font-weight: 300; font-size: 18px; text-shadow: -1px -1px 1px rgba(0,0,0,0.1); border-right: 0px; border-bottom-right-radius: 3px;"> 
 
           <p style="font-size: 16px; font-weight: normal;"> Las vegas </p> 
 
           </td> 
 
          </tr> 
 
         </table> 
 
        </td> 
 
        </tr> 
 
       </table> 
 
      </td> 
 
     </tr> 
 
     <tr> 
 
      <td class="container" style="display: block; clear: both; margin: 0 auto; max-width: 580px;"> 
 
       <table style="border-collapse: collapse; width: 100%;"> 
 
        <tr> 
 
        <td class="content footer" align="center" style="padding: 10px 35px; background: none;"> 
 
         <p style="font-weight: normal; font-size: 14px; margin-bottom: 0; color: #888; text-align: center;"> Send by<a href="http://www.idealtrailer.com/" style="color: #888; text-decoration: none; font-weight: bold;"> Idéal Cargo</a></p> 
 
        </td> 
 
        </tr> 
 
       </table> 
 
      </td> 
 
     </tr> 
 
     </table> 
 
    </body> 
 
</html>

回答

0

電子郵件在15:38收到的HTML是顯示爲「...」是因爲Gmail合併了幾乎同一主題收到的電子郵件。如果您必須進行測試,請嘗試更改主題。

無論如何,Gmail的HTML大小限制似乎是102KB。