Mad*_*shM 3 coldfusion cfmail coldfusion-8
我的代码如下,
<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>
Run Code Online (Sandbox Code Playgroud)
我得到了这个工作,但现在的问题是图像显示为附件,而不是内联(邮件客户端:Outlook 2010).有什么建议?
您需要在cfmail标记中添加type属性
<cfmail
to="sender@xyz.com"
from="receiver@xyz.com"
subject="email with image"
type="html">
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1499 次 |
| 最近记录: |