Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev 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)

Did this page help you?