Defines the MIME type of an attachment in Episerver Campaign.
Type: void
Parameters
Name | Type | Value |
---|---|---|
sessionId |
String |
ID of the session |
attachmentId |
long |
ID of the attachment |
mimeType |
String |
Corresponding MIME type of the file Example: image/gif or text/comma-separated-values |
Return values
-
Code structure
void setMimeType(String sessionId, long attachmentId, String mimeType)
Do you find this information helpful? Please log in to provide feedback.
Last updated: Apr 24, 2018