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

setCharset

Defines the character set for the content (subject + body) of a mailing in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
charsetStringCharacter set to be used for all contents (subject + body) in ISO names

If set to null, the client's default (usually ISO-8859-1) is used.

Return values

  • Code structure

    void setCharset(String sessionId, long mailingId, String charset)