2012-08-10 92 views
2

我們通過出站電子郵件發送大量數量的郵件。我們有一個嵌有四幅圖像的新聞通訊。但是我們遇到了這樣一個問題,即當我們發送郵件時(我的意思是說在所有地方出現相同的圖像),這四個圖像中的一個嵌入在通訊中所有其他圖像應該出現的地方。新聞通訊頁面預覽在CMS中完美無瑕。建議解決方案(如果有)。出站電子郵件發送郵件的問題

我們通過出站電子郵件發送大量數量的郵件。我們有一個嵌有四幅圖像的新聞通訊。但是我們遇到了這樣一個問題,即當我們發送郵件時(我的意思是說在所有地方出現相同的圖像),這四個圖像中的一個嵌入在通訊中所有其他圖像應該出現的地方。新聞通訊頁面預覽在CMS中完美無瑕。建議解決方案(如果有)。

這是我們在一個DWT代碼:

<tr style="background:@@[email protected]@ url(@@TrimSpacesFromString(website_url)@@/@@TrimSpacesFromString(header_background_image_url)@@) repeat-x left top;"> 
    <td style="width:98px; padding:4px 14px 7px"> 
     <a href="@@[email protected]@"> 
      <img src="@@EmbedImage(logo)@@" width="98" height="98" border="0" alt="@@GetKeyValueForTitle('football_club','AC')@@"/> 
     </a> 
    </td> 
    <td style="width:453px; padding:0px 14px 7px 0; vertical-align:top;"> 
     another table with data 
    </td> 
</tr> 

第二DWT代碼

<tr> 
    <!-- TemplateBeginRepeat name="list" -->   
    <td style="<!-- TemplateBeginIf cond="TemplateRepeatIndex<(listCount-1)" -->padding-right<!-- TemplateEndIf --><!-- TemplateBeginIf cond="TemplateRepeatIndex==(listCount-1)" -->padding-left<!-- TemplateEndIf -->:7px;"> 
     <table style="width:285px; padding:0 0 20px 0" cellspacing="0">   
      <tr> 
      <!-- TemplateBeginIf cond="image" --> 
       <td rowspan="2" style="padding:0px 5px 0 0px; width:127px; vertical-align:top;">       
        <!-- TemplateBeginIf cond="GetTextValueFromCompOrEmbedField(ID,'link', 'external_link','0')!=''" --> 
         <!-- TemplateBeginIf cond="GetStatusForExternalUrl(GetTextValueFromCompOrEmbedField(ID,'link','external_link','0'))" -->      
          <a href="@@TrimSpacesFromString(GetTextValueFromCompOrEmbedField(ID,'link','external_link','0'))@@" 
          style="color:@@[email protected]@; text-decoration:none;" > 
           <!-- <img src="@@EmbedImage(image)@@" width="127" height="108" border="0" alt="players" /> -->         
           <img src="@@EmbedImage(image)@@" width="127" height="108" border="0" alt="@@GetKeyValueForLabel('player','CM')@@" /> 
          </a> 
         <!-- TemplateEndIf -->       
       </td> 
       <!-- TemplateEndIf -->      
      </tr> 

     </table> 
    </td> 
    <!-- TemplateEndRepeat -->  
</tr> 
+0

首先發布您的模板代碼? – 2012-08-10 14:57:05

+0

您正在使用哪種版本的Tridion? 2011 GA,修補程序彙總1,Service Pack 1或Service Pack 1修補程序彙總1 ... – 2012-08-10 15:01:13

+0

我們是Tridion 2011 GA – AlokBhatt 2012-08-10 15:15:29

回答

3

有在早期版本中的缺陷,由此發送郵件多線程或當系統是沉重的負荷下偶爾會導致嵌入的圖像或附件的圖像ID爲一串零而不是唯一的ID。

這是2009 SP1的固定版本,也併入2011 SP1。

您使用的是早期版本,因此推薦的解決方案是升級到SP1 HR1。

0

這是2011年Tridion的一個問題。它在2011 SP1中得到了修復。每當發生大量電子郵件時,圖像嵌入在Tridion 2011中都無法正常工作。