HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)
    

What’s Next
Did this page help you?