Web链接到EML文件 [英] Web link to EML file

查看:87
本文介绍了Web链接到EML文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为这更像是一般的IE / HTTP问题,但我不知道

的发布地点。如果这不是它的地方,请指向正确的

组。谢谢。这是我的问题:


我有一个应用程序,它从POP服务器读取传入的电子邮件并将电子邮件消息保存为EML文件,OE可以打开并阅读。我想将这些文件保存到Web服务器上的目录中并创建一个网页,

提供这些文件的链接。点击链接后,我希望OE打开消息。现在,发生的事情是IE将我重定向到

的URL,文件带有mhtml:前置它(例如:

mhtml:http://foo.com/myfile.eml")并告诉我无法找到页面。我想b $ b尝试创建一个页面,将该文件的内容写入响应

stream并将内容类型设置为message / rfc822。但这给了我

sme结果(重定向到mhtml: http://。 ..)。我的猜测是IE试图将所有人的所有东西都打开并自己打开,但不知道怎么做。可以

有人告诉我如何让IE下载文件并在OE

中打开它?


谢谢,

John

I think this is more of a general IE/HTTP question but I didn''t know where
to post. If this is not the place for it, please point me to the right
group. Thanks. Here''s my question:

I have an application that reads incoming email from a POP server and saves
email messages as EML files, which OE can open and read. I''d like to save
these files to a directory on a web server and create a web page that
provides links to these files. When a link is clicked, I would like OE to
open the message. Right now, what happens is IE redirects me to the URL of
the file with "mhtml:" prepended to it (for example:
mhtml:http://foo.com/myfile.eml") and tells me the page cannot be found. I
tried creating a page that writes the contents of this file to the response
stream and set the content type to "message/rfc822" but that gives me the
sme result (redirect to mhtml:http://...). My guess is IE is trying to be
all things to all people and open it itself, but doesn''t know how. Can
someone tell me how to get IE to download the file and open it in OE
instead?

Thanks,
John

推荐答案

如果您重命名具有MHT扩展名的EML,它将在本地打开

Internet Explorer(不是Outlook Express)。


如果不查看应用程序如何处理(处理)传入的

邮件,很难更有帮助。

-

Jim Pickering,MVP-Outlook Express

请回复新闻组。

Stingray< nospam>

写在%2 **************** @ TK2MSFTNGP10.phx.gbl:
If you rename an EML with an MHT extension, it will open natively in
Internet Explorer (not Outlook Express).

Without looking at how your application handles (processes) the incoming
mail, it''s hard to be more helpful.
--
Jim Pickering, MVP-Outlook Express
Please reply only to the newsgroup.
Stingray <nospam>
wrote in %2****************@TK2MSFTNGP10.phx.gbl:
我认为这更像是一般的IE / HTTP问题,但我不知道
在哪里发布。如果这不是它的地方,请指出我/
正确的组。谢谢。这是我的问题:

我有一个应用程序,它从POP服务器读取传入的电子邮件,并将电子邮件保存为EML文件,OE可以打开和读取。我想将这些文件保存到Web服务器上的目录中,并创建一个提供这些文件链接的网页。点击链接后,我希望OE打开邮件。现在,发生的是IE
将我重定向到文件的URL,其中包含mhtml:前置它
(例如:mhtml:http://foo.com/myfile.eml")并告诉我无法找到页面
。我尝试创建一个页面,将该文件的内容写入响应流,并将内容类型设置为
message / rfc822。但是这给了我一个结果(重定向到
mhtml: http:// ...)。我的猜测是IE试图成为所有人的所有事情并自己打开它,但不知道如何。有人能告诉我
如何让IE下载文件并在OE中打开它?

谢谢,
John
I think this is more of a general IE/HTTP question but I didn''t know
where to post. If this is not the place for it, please point me to
the right group. Thanks. Here''s my question:

I have an application that reads incoming email from a POP server and
saves email messages as EML files, which OE can open and read. I''d
like to save these files to a directory on a web server and create a
web page that provides links to these files. When a link is clicked,
I would like OE to open the message. Right now, what happens is IE
redirects me to the URL of the file with "mhtml:" prepended to it
(for example: mhtml:http://foo.com/myfile.eml") and tells me the page
cannot be found. I tried creating a page that writes the contents of
this file to the response stream and set the content type to
"message/rfc822" but that gives me the sme result (redirect to
mhtml:http://...). My guess is IE is trying to be all things to all
people and open it itself, but doesn''t know how. Can someone tell me
how to get IE to download the file and open it in OE instead?

Thanks,
John






IE6 SP1中引入的一个安全功能或随后将不会允许IE打开eml文件。所以你必须将它们重命名为Jim

建议让它们在IE中显示。


如果你使用的是ASP有很多方法可以解决这个问题或者ASPX页面。


史蒂夫


" Stingray" < NOSPAM>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
One of the security features introduced in IE6 SP1 or subsequently will no
longer allow IE to open eml files. So you have to rename them as mht as Jim
suggested to get them to display in IE.

There are ways around this if you are using an ASP or ASPX page.

steve

"Stingray" <nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
我认为这更像是一般的IE / HTTP问题,但我不知道发布的地方。如果这不是它的地方,请指向正确的
组。谢谢。这是我的问题:

我有一个应用程序从POP服务器读取传入的电子邮件,
将电子邮件保存为EML文件,OE可以打开和读取。我想将这些文件保存到Web服务器上的目录中,并创建一个网页,提供指向这些文件的链接。点击链接后,我希望OE打开邮件。现在,IE会将我重定向到带有mhtml:的文件的URL
。前置它(例如:
mhtml:http://foo.com/myfile.eml")并告诉我无法找到页面。
我尝试创建一个页面,将该文件的内容写入
响应流,并将内容类型设置为message / rfc822。但这给了我
sme结果(重定向到mhtml: http:// ...)。我的猜测是IE试图将所有人的所有东西都打开并自己打开,但不知道怎么做。有人可以告诉我如何让IE下载文件并在OE中打开它

谢谢,
John
I think this is more of a general IE/HTTP question but I didn''t know where
to post. If this is not the place for it, please point me to the right
group. Thanks. Here''s my question:

I have an application that reads incoming email from a POP server and saves email messages as EML files, which OE can open and read. I''d like to save
these files to a directory on a web server and create a web page that
provides links to these files. When a link is clicked, I would like OE to
open the message. Right now, what happens is IE redirects me to the URL of the file with "mhtml:" prepended to it (for example:
mhtml:http://foo.com/myfile.eml") and tells me the page cannot be found. I tried creating a page that writes the contents of this file to the response stream and set the content type to "message/rfc822" but that gives me the
sme result (redirect to mhtml:http://...). My guess is IE is trying to be
all things to all people and open it itself, but doesn''t know how. Can
someone tell me how to get IE to download the file and open it in OE
instead?

Thanks,
John






谢谢Jim和Steve。


Jim:应用程序只是将整个电子邮件消息写入文件在EML格式中,

就好像电子邮件被从OE拖出到文件夹中一样。该文件在OE中正确打开




史蒂夫:你提到了解决这个问题的方法。我可以使用ASP或ASP.NET(更喜欢

后者)。这是一个内部网站点,所以我不需要担心太多关于安全性的问题。文件在打开之前由NAV清理。


将扩展名更改为MHT允许在IE中查看它们。但我需要

它们由OE而不是IE打开,以便用户可以回复。那么如何围绕这个安全问题获取

并将文件发送给OE?实际上,我会更喜欢使用Outlook,但是根据我的说法,这根本不可能。

可能。


再次感谢,

John


" Stingray" < NOSPAM>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
Thank you Jim and Steve.

Jim: The app simply writes an entire email message to a file in EML format,
just as if an email was dragged out of OE into a folder. The file opens
properly in OE.

Steve: You mentioned a way around this. I can use ASP or ASP.NET (prefer
the latter). This is an intranet site so I don''t need to worry too much
about security. Files are cleaned by NAV before being opened.

Changing the extension to MHT allowed them to be viewed in IE. But I need
them to be opened by OE not IE so the user can reply. So how do I get
around this security thing and get the file sent to OE? Actually, I would
prefer to use Outlook, but from what I''ve been told this is not at all
possible.

Thanks again,
John

"Stingray" <nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
我认为这更像是一般的IE / HTTP问题,但我不知道发布的地方。如果这不是它的地方,请指向正确的
组。谢谢。这是我的问题:

我有一个应用程序从POP服务器读取传入的电子邮件,
将电子邮件保存为EML文件,OE可以打开和读取。我想将这些文件保存到Web服务器上的目录中,并创建一个网页,提供指向这些文件的链接。点击链接后,我希望OE打开邮件。现在,IE会将我重定向到带有mhtml:的文件的URL
。前置它(例如:
mhtml:http://foo.com/myfile.eml")并告诉我无法找到页面。
我尝试创建一个页面,将该文件的内容写入
响应流,并将内容类型设置为message / rfc822。但这给了我
sme结果(重定向到mhtml: http:// ...)。我的猜测是IE试图将所有人的所有东西都打开并自己打开,但不知道怎么做。有人可以告诉我如何让IE下载文件并在OE中打开它

谢谢,
John
I think this is more of a general IE/HTTP question but I didn''t know where
to post. If this is not the place for it, please point me to the right
group. Thanks. Here''s my question:

I have an application that reads incoming email from a POP server and saves email messages as EML files, which OE can open and read. I''d like to save
these files to a directory on a web server and create a web page that
provides links to these files. When a link is clicked, I would like OE to
open the message. Right now, what happens is IE redirects me to the URL of the file with "mhtml:" prepended to it (for example:
mhtml:http://foo.com/myfile.eml") and tells me the page cannot be found. I tried creating a page that writes the contents of this file to the response stream and set the content type to "message/rfc822" but that gives me the
sme result (redirect to mhtml:http://...). My guess is IE is trying to be
all things to all people and open it itself, but doesn''t know how. Can
someone tell me how to get IE to download the file and open it in OE
instead?

Thanks,
John



这篇关于Web链接到EML文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆