使用MIME生成HTML电子邮件时,附件可以显示在Lotus Notes电子邮件正文中吗? [英] When generating HTML email using MIME, can attachments be displayed in the Lotus Notes email body?
问题描述
我创建了一个包含表格的html格式的电子邮件,并希望附件显示在表格的行中.我无法使附件完全出现在电子邮件的正文中,相反,它们通过附件(在我们的Lotus Notes 8.5.3客户端中)以附件的形式出现,这些附件全部分组在附件扭曲下的标头中.
I've created a html formatted email containing a table and want attachments to appear in rows in the table. I can't manage to get the attachments to appear in the body of the email at all, instead they come through (in our Lotus Notes 8.5.3 client) as attachments all grouped in the header under the attachment twistie.
附件是否可以显示在电子邮件正文中而不是标题中?
Is there any way for the attachments to display in the body of the email instead of the header?
(2014年1月20日更新) 作为参考,我寻找了添加附件的示例方法.马克·勒伊辛克(Mark Leusink)此处和Tony McGuckin
(Updated Jan 20, 2014) For reference, I looked for sample methods for adding attachments. Mark Leusink here and Tony McGuckin here posted great snippets for building HTML/MIME emails, so I used these as a starting point, but couldn't find anything to get the attachment into the body. Stephan has clarified why that is in his response below.
推荐答案
Mime在邮件正文中不包含附件,因此它们不会显示.但是,只要花点技巧,就可以得到想要的东西:
Mime doesn't contain attachments in message bodies, so they won't show up. However with a little trickery you can get what you want:
- 添加另一个附件,其中包含要显示的附件图标.一种通用或一种
- 在您的表格中构造一个href,后跟img src,指向图像和附件
- add another attachment containing an icon to be shown for the attachment. One generic or one each
- in your table construct a href followed by img src pointing to image and attachment
http://en.m.wikipedia.org/wiki/MIME 奖励轨道:有一个注释项可停止显示附件(可以回想哪个附件)如果您将其作为标头偷运到其中...
http://en.m.wikipedia.org/wiki/MIME Bonus track: there is a notes item to stop attachments to be shown (can recall which one) If you smuggle that in as header...
这篇关于使用MIME生成HTML电子邮件时,附件可以显示在Lotus Notes电子邮件正文中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!