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

restart

Resends a mailing (status: NEW, SENDING or DONE) in Optimizely Campaign.

If the mailing has not been started, it will be started. The mailing must be of the type regular or event.

📘

Notes

  • It is better to copy a mailing and start the new one.
  • This method is designed to work with event-based mailings.
  • Canceled mailings cannot be restarted.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

  • Code structure

    void restart(String sessionId, long mailingId)
    

Next