HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

setMimeType

Defines the MIME type of a mailing in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
mimeTypeStringMIME type of the mailing (text/plain, text/html, multipart/alternative)

Return values

  • Code structure

    void setMimeType(String sessionId, long mailingId, String mimeType)
    

What’s Next
Did this page help you?