Email Factory for .NET

Attachment.GetMIMEType Method 

Gets system MIME type.

public static string GetMIMEType(
   string file
);

Parameters

file
The file to get the MIME type of.

Return Value

The MIME type, or

application/x-unknown
if not found.

See Also

Attachment Class | Jscape.Email Namespace