Click here to Skip to main content
15,890,185 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
Randor 3-Oct-20 4:24
professional Randor 3-Oct-20 4:24 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
Nelek4-Oct-20 10:16
protectorNelek4-Oct-20 10:16 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
Randor 4-Oct-20 10:38
professional Randor 4-Oct-20 10:38 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon4-Oct-20 19:12
markrlondon4-Oct-20 19:12 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
Randor 4-Oct-20 19:47
professional Randor 4-Oct-20 19:47 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 2:03
markrlondon6-Oct-20 2:03 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
Randor 6-Oct-20 5:15
professional Randor 6-Oct-20 5:15 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 5:50
markrlondon6-Oct-20 5:50 
Randor wrote:
"MHT" literally means MIME hyper text.

MHT RFC MIME[^]

Yes, MHT does mean MIME HTML. Well done.

However...

As RFC2557 (one of the RFCs you indirectly linked to) specifies, MHT/MHTML files are aggregate documents that can contain a serialised or archived HTML page including subsidiary components. As such, MHT/MHTML is essentially identical to the EML format.

Why is this relevant?

Because, in the context of the OP's question, a mail client program (such as Outlook) can save the content of an email into a MHT file so that the content can be viewed locally in a web browser or other program that supports the MHT/MHTML/EML format.

When the content is saved locally for viewing in such a manner, no MIME type is involved in terms of opening the target program. Let me say that again in slightly different terms: Even though the word "MIME" is part of the name "MHT" or "MHTML", it is still the case that no MIME type is involved in allowing a source program to open a target program to open the file via the shell. Only the file extension matters in this context. The Windows shell knows nothing of the MIME type of a file when a file is being passed from a source program to a target program to be opened.

I note also that you did not address the issue that COM is not needed in the context of the subject at hand: That of one program opening another to handle a file via the Windows shell.
AnswerRe: Oh come on Microsoft ... get your act together. Pin
Randor 6-Oct-20 6:10
professional Randor 6-Oct-20 6:10 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 6:38
markrlondon6-Oct-20 6:38 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
Randor 6-Oct-20 7:00
professional Randor 6-Oct-20 7:00 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 7:19
markrlondon6-Oct-20 7:19 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 7:11
markrlondon6-Oct-20 7:11 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 7:34
markrlondon6-Oct-20 7:34 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 7:50
markrlondon6-Oct-20 7:50 
QuestionRe: Oh come on Microsoft ... get your act together. Pin
Randor 6-Oct-20 9:56
professional Randor 6-Oct-20 9:56 
AnswerRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 10:47
markrlondon6-Oct-20 10:47 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
Randor 6-Oct-20 10:58
professional Randor 6-Oct-20 10:58 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 11:37
markrlondon6-Oct-20 11:37 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
Randor 6-Oct-20 11:54
professional Randor 6-Oct-20 11:54 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 13:08
markrlondon6-Oct-20 13:08 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 10:22
markrlondon6-Oct-20 10:22 
PraiseRe: Oh come on Microsoft ... get your act together. Pin
Randor 6-Oct-20 10:53
professional Randor 6-Oct-20 10:53 
GeneralRe: Oh come on Microsoft ... get your act together. Pin
markrlondon6-Oct-20 11:57
markrlondon6-Oct-20 11:57 
PraiseRe: Oh come on Microsoft ... get your act together. Pin
Randor 6-Oct-20 12:10
professional Randor 6-Oct-20 12:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.