Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getFromName

Queries the name (not the email address) of the sender of a mailing in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Name of the sender of the mailing

Code structure

String getFromName(String sessionId, long mailingId)