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

start

Starts a mailing in Optimizely Campaign.

Differences between the mailing types:

  • regular: The mailing is sent to all defined recipients and then stopped. The mailing status changes to DONE.
  • event: The mailing is not sent to all defined recipients. The mailing status changes to SENDING. From now on, mails can be sent via sendMail or sendMails.

Warning: Do not start a mailing of the type template.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
scheduleDateDate(Optional) If set, the mailing will be sent on the given date.

Return values

  • Code structure

    void start(String sessionId, long mailingId, Date scheduleDate)