我們通過出站電子郵件發送大量數量的郵件。我們有一個嵌有四幅圖像的新聞通訊。但是我們遇到了這樣一個問題,即當我們發送郵件時(我的意思是說在所有地方出現相同的圖像),這四個圖像中的一個嵌入在通訊中所有其他圖像應該出現的地方。新聞通訊頁面預覽在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>
首先發布您的模板代碼? – 2012-08-10 14:57:05
您正在使用哪種版本的Tridion? 2011 GA,修補程序彙總1,Service Pack 1或Service Pack 1修補程序彙總1 ... – 2012-08-10 15:01:13
我們是Tridion 2011 GA – AlokBhatt 2012-08-10 15:15:29