Gets an optional string specifying the file's type using types specified through the Multipurpose Internet Mail Extensions (MIME) specification. When a file is embedded and a type is not specified the default type application/octet-stream is used.

<void> EmbeddedFile.getMIMEType(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the property value.
errorCallback Optional. Is called when the operation failed with an error.