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

getFromEmailPrefix

Queries the email prefix of the sender of a mailing in Optimizely Campaign.

This is the part of the email address before the @ sign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Email prefix of the sender of the mailing

Code structure

String getFromEmailPrefix(string sessionId, long mailingId)