HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)
    

What’s Next
Did this page help you?