Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In


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.



  • 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


sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

  • Code structure

    void restart(String sessionId, long mailingId)

What’s Next