gpt4 book ai didi

tridion - 出站电子邮件发送的邮件问题

转载 作者:行者123 更新时间:2023-12-04 05:36:08 24 4
gpt4 key购买 nike

我们通过出站电子邮件发送数千封邮件。我们有一份时事通讯,上面嵌入了四张图片。但是我们遇到了一个问题,即这四个图像中的一个被嵌入到通讯中的所有位置,而当我们发送邮件时,其他图像应该出现在这些位置(我的意思是说所有位置都出现相同的图像)。在 CMS 中预览时事通讯页面非常好。如果有,建议解决方案。

我们通过出站电子邮件发送数千封邮件。我们有一份时事通讯,上面嵌入了四张图片。但是我们遇到了一个问题,即这四个图像中的一个被嵌入到通讯中的所有位置,而当我们发送邮件时,其他图像应该出现在这些位置(我的意思是说所有位置都出现相同的图像)。在 CMS 中预览时事通讯页面非常好。如果有,建议解决方案。

这是我们在一个 DWT 中的代码:

<tr style="background:@@header_background_color@@ url(@@TrimSpacesFromString(website_url)@@/@@TrimSpacesFromString(header_background_image_url)@@) repeat-x left top;">
<td style="width:98px; padding:4px 14px 7px">
<a href="@@website_url@@">
<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>

第二载重吨代码
<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:@@header_link_color@@; 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>

最佳答案

早期版本存在一个缺陷,即多线程发送邮件或在系统负载较重时有时会导致嵌入图像或附件的图像 ID 为一串零而不是唯一 ID。

这已针对 2009 SP1 进行了热修复,并已合并到 2011 SP1 中。

您使用的是早期版本,因此推荐的解决方案是升级到 SP1 HR1。

关于tridion - 出站电子邮件发送的邮件问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11904232/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com