Disclaimer: This website requires JavaScript to function properly. Some features may not work as expected. 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

pause

Pauses a mailing that is in the status SENDING in Optimizely Campaign.

The status can be queried with the getStatus method. The mailing must be of the type regular. All other mailings (event, confirmation, template) cannot be paused.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

  • Code structure

    void pause(String sessionId, long mailingId)
    

Next