A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Express Email Newsgroup » Outlook Express
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Downloading with MSIE and opening with OE .EML files doesn't work: SOLVED!



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 11th 06, 10:37 AM posted to microsoft.public.windows.inetexplorer.ie6.browser,microsoft.public.internetexplorer.general,microsoft.public.windows.inetexplorer.ie6_outlookexpress
Enzo Michelangeli
external usenet poster
 
Posts: 5
Default Downloading with MSIE and opening with OE .EML files doesn't work: SOLVED!

OK, it turned out that the problem was not specific to Outlook Express, and
the inability by OE to open .eml files whose names were passed with the
"/eml:" command line switch was a red herring: OE _can_ open them, but they
must be passed complete with their (absolute) path, because apparently OE
changes the current directory to %HOMEPATH% (\Documents and
Settings\%USERNAME%) _before_ parsing the arguments (booo!), so a file
passed with a relative path is not found within the directory that was the
current one when the command was issued.

But as I said, the problem lied elsewhe namely, in the "Cache-control:
no-cache" HTTP header sent by my webserver. It appears that MSIE takes a
fundamentalist approach to compliance with it, and deletes the downloaded
file from the cache (%HOMEPATH%\Local Settings\Temporary Internet
Files\Content.IE5random_subdir ) immediately after completing the
download, without even giving the helper application associated with the
filename a fighting chance to grab it... Replacing the "no-cache" parameter
with something less harsh, such as "max-age=120", fixed the malfunction.

It still remains necessary to use a content-type "application/octet-stream"
in order to prevent MSIE from opening the document in its own window as
MHTML, but that's a minor annoyance.

Anyway, many thanks to all who kindly posted followups to this thread!

Enzo


Ads
  #2  
Old October 12th 06, 10:16 AM posted to microsoft.public.windows.inetexplorer.ie6.browser,microsoft.public.internetexplorer.general,microsoft.public.windows.inetexplorer.ie6_outlookexpress
Steve Cochran
external usenet poster
 
Posts: 2,353
Default Downloading with MSIE and opening with OE .EML files doesn't work: SOLVED!

Thanks for the followup and the info. I won't ask how long it took you to
figure all that out. VBG

steve

"Enzo Michelangeli" wrote in message
...
OK, it turned out that the problem was not specific to Outlook Express,
and
the inability by OE to open .eml files whose names were passed with the
"/eml:" command line switch was a red herring: OE _can_ open them, but
they
must be passed complete with their (absolute) path, because apparently OE
changes the current directory to %HOMEPATH% (\Documents and
Settings\%USERNAME%) _before_ parsing the arguments (booo!), so a file
passed with a relative path is not found within the directory that was the
current one when the command was issued.

But as I said, the problem lied elsewhe namely, in the "Cache-control:
no-cache" HTTP header sent by my webserver. It appears that MSIE takes a
fundamentalist approach to compliance with it, and deletes the downloaded
file from the cache (%HOMEPATH%\Local Settings\Temporary Internet
Files\Content.IE5random_subdir ) immediately after completing the
download, without even giving the helper application associated with the
filename a fighting chance to grab it... Replacing the "no-cache"
parameter
with something less harsh, such as "max-age=120", fixed the malfunction.

It still remains necessary to use a content-type
"application/octet-stream"
in order to prevent MSIE from opening the document in its own window as
MHTML, but that's a minor annoyance.

Anyway, many thanks to all who kindly posted followups to this thread!

Enzo



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading with MSIE and opening with OE .EML files doesn't work Enzo Michelangeli Outlook Express 6 October 6th 06 01:10 PM
Work with .eml file?? John & Mary Cook Outlook Express 3 June 3rd 06 09:29 PM
eml files read-only Stan Outlook Express 12 April 23rd 06 03:32 PM
OE won't open .eml files. brackenburn Outlook Express 14 April 7th 06 10:33 PM
Opening EML Attachments and Identity Window FLORENCE BUSCHBACHER Outlook Express 3 March 6th 06 01:24 AM


All times are GMT +1. The time now is 04:35 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.