Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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)