Sets 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.setMIMEType(<string> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
value | The property value. |
callback | Optional. Is called when the operation completed. |
error |
Optional. Is called when the operation failed with an error. |