Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


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

Type: void


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)