【发布时间】:2011-09-14 05:25:47
【问题描述】:
我的代码如下,
<cfmail
to="sender@xyz.com"
from="receiver@xyz.com"
subject="email with image">
<img src="cid:pClip" width="350" height="85" alt="" />
there is an image above this msg.
<cfmailparam file="#ExpandPath('PaperClip.jpg')#"
contentid="pClip"
disposition="inline" />
</cfmail>
我得到了这个工作,但现在的问题是图像显示为附件,不是内联(邮件客户端:Outlook 2010)。有什么建议吗?
【问题讨论】:
-
我的代码中已经有以下解决方案 (type="html"),但是您的 IMG 嵌入代码帮助我解决了 Outlook 中的附件问题。你的问题解决了我的问题。谢谢!
标签: coldfusion coldfusion-8 cfmail