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

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)