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

getHeader

Queries the mailing header.

Type: String[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
NameStringField name

Must be compliant with RFC822 (only 7bit US-ASCII characters are allowed).

Return values

All values of the header

Code structure

String[] getHeader(String sessionId, long mailingId, String name)

Next