In alt.html.webedit, Javad wrote:
> Hi all I have designed and publish a website on:
> http://javad2000.freevat.com
> In that site
at this page: http://javad2000.freevat.com/be.htm
...
> I have a link named "Lesson-1" which is linked to a file named
> "Lesson1.eml". (The extension is eml). Since this file isn't an
> HTML file
No, it's an Outlook Express email file.
> I expect IE
What about my browser? Today, that's Firefox.
> not to show its content in the explorer page and only
> start downloading the file when I click on the link. But when I
> click on that link, I only see the context of that eml file in IE
> window, and no downloads start.>
<http://javad2000.freevat.com/_private/emails/be/Farsi-1%20of%2011%20(Basic%20Elementary-1).eml>
...displays the raw text in my browser. No attempt is made to download
because your server is sending it as:
Content-Type: text/html; charset=
with no charset. (I have no idea what a Farsi charset would be.)
You would have to reconfigure your web server to ... well, I don't
know if there is a content-type for .eml files, and I'm not sure I
want to look it up.
> Even if I r-click the link and
> select "Save target as", the file is downloaded and saved to my HDD
> with the name of "Lesson-1.htm". This is my question: I want the
> file to be downloaded with eml extension, not htm extension. How
> can I do this?
I think I would recommend that you either serve up these lessons as
well-formed regular HTML pages, or make .PDF files so people without
Outlook Express can utilize them. PDF has much more sup****t than a
proprietary email file.
Please don't use colored text on a black background for them; it is
very hard to read, especially for a "lesson."
> Why does IE change my file extension?
It's not Outlook Express? :-)
[Five groups is excessive cross-posting, but I'm glad you didn't
multi-post. Thanks.]
--
-bts
-This space intentionally left blank.


|