HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)

What’s Next