Description
-
Holds type of the attachment.
Property type
-
A String value.
Syntax
-
object.Type
The Type Property syntax has these parts:
Remarks
-
By looking at this property, you can examine attachment
mime type and decide what you should do with it. For
example, you might find 'text/plain' inside, which
means you can use Notepad to properly open this file. If
it's 'text/html', you should open it with your
browser. For ZIP files, it will be
'application/x-zip-compressed'. For general binary
files, 'application/octet-stream' type will be
used. In such cases, you should store file to disk.
Of course, there are many mime-types. Above mentioned
are ones mostly used.
|