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

setContent

Defines the content for a mailing of a specific MIME type in Optimizely Campaign.

See also validateContent.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
mimeTypeStringMIME type (text/plain or text/html) of the mailing
contentStringThe content of the mailing (HTML code or text)

Return values

  • Code structure

    void setContent(String sessionId, long mailingId, String mimeType, String content)