富文本格式的电子邮件

富文本格式的电子邮件

本文介绍了发送包含图片/富文本格式的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,

我有一个问题,直到现在我还没有在

网页上找到答案。


我想发送一封带有图片的电子邮件。我不想把

它作为

附件但是把它放在邮件正文中,所以每个打开电子邮件的人都会打开电子邮件。看到图片..(有可能解决方案将会以任何其他格式打开,即pdf,doc和我将把这个放在身体中)


无论是在MimeWriter中还是使用MymeTypes的定义我都能够用b $ b来做它...


有没有人有解决方案?


谢谢

Hey,
I have a certain problem and till now I didnt find an answer on the
web.

I want to send an email message with picture in it. I dont want to put
it as
attachment but make it in the body of the mail, so every one who open
the email will see the picture.. (it is possible that the solution will
be in any other format that will be opened i.e pdf, doc and I will put
this in the body )

Neither in MimeWriter nor using the definition of MymeTypes I was able
to do it ..

Does anyone have a solution?

Thanks

推荐答案




如果你想让人们查看文字以外的东西,电子邮件不是你想要的。给他们可以查看你希望他们看到的内容的地方提供一个URL;然后他们可以选择使用

图形终端的时间。


-

\为什么我应该关心后代吗?什么后代做了什么|

` \对我来说? - Groucho Marx |

_o__)|

Ben Finney



If you want people to view something other than text, email is not
what you want. Give a URL to the place where they can view what you
want them to see; then they can choose a time when they are using a
graphically capable terminal.

--
\ "Why should I care about posterity? What''s posterity ever done |
`\ for me?" -- Groucho Marx |
_o__) |
Ben Finney





work。


也就是说,除非你设计自己的MIME标准,并让所有电子邮件客户端

在那里阅读你的结构化文档类型,因为MIME(我们知道今天它是b / b
)只知道堆叠的消息部分,而不是关于消息,你本身就需要将bg直接包含在电子邮件(正文)中内容

和更高级别的格式。


基本上,今天要在一个正文中包含一张图片,那就是你的共识

将HTML文档插入一个MIME部分,并将< img> link指的是另一个MIME部分中的

附件(通过文件名,与附加的MIME部分相同的

)。但是,正如你所看到的,这特别是

要求收件人能够查看HTML邮件(这相当于很多人b / b
,甚至那些使用M



work.

That is, unless you design your own MIME standard, and get all email clients
out there to read your type of "structured document," which you inherently
need for including pictures directly in an email (body), as MIME (as we know
it today) only knows about stacked message parts, not about message content
and higher level formatting.

Basically, to include a picture in a body today, there''s concensus that you
insert a HTML-document into one MIME part, and an <img> link refers to the
attachment that comes in another MIME part (by the filename, which is the
same as for the attached MIME part). But, as you see, this specifically
requires that the recipient is able to view HTML mails (which quite a lot of
people, even those using M



这篇关于发送包含图片/富文本格式的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-26 07:22