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

setFrom

Defines the sender identification of a mailing in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
senderEmailPrefixStringThe value is prefixed to the sending domain configured for this client

Examples: info, newsletter or john.
senderNameStringName of the sender

Examples: My Company, John Doe, Newsletter.

Return values

  • Code structure

    void setFrom(String sessionId, long mailingId, String senderEmailPrefix, String senderName)