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


Defines the sender identification of a mailing in Optimizely Campaign.

Type: void


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)