开发者

HTML Code Link within an Email to an Email Attachment

Wondering if this is possible. Suppose an email is written in HTML for email clients to render. And an anchor tag exists in the HTML code that is going to be parsed by the email 开发者_开发问答client.

One can reference resources (images, files, etc..) externally from servers. For instance, I can do Download PDF

Is it possible to reference an attachment that was sent along with the email? So attach a PDF and have some tag in the email reference the attachment that's a part of the HTML code.

I don't really want to hear "alternative" solutions. I pretty much want to hear yes/no.


Nope. Each mail client takes care of attachments individually, in their own way. If you could make it work in some clients, rest would fail.

If think that there would be more problems than use.


Answered in https://stackoverflow.com/a/9983277/38841

No hacks needed. Use the cid: URI scheme

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜