![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 02:10 PM |
Work with .eml file?? | John & Mary Cook | Outlook Express | 3 | June 3rd 06 10:29 PM |
eml files read-only | Stan | Outlook Express | 12 | April 23rd 06 04:32 PM |
OE won't open .eml files. | brackenburn | Outlook Express | 14 | April 7th 06 11:33 PM |
Opening EML Attachments and Identity Window | FLORENCE BUSCHBACHER | Outlook Express | 3 | March 6th 06 02:24 AM |