Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Unsubscribes a recipient that belongs to a specific mail-ID in Optimizely Campaign.

The recipient is not removed from the recipient list (but will not receive any further mailings) until the remove method is invoked or the recipient re-subscribes using a normal opt-in process.

In addition to the add2 method, the mailing the recipient received before she/he unsubscribed will be preserved. See also MailIdWebservice.

Type: void


sessionIdStringID of the session
mailIdStringID of the email

Return values

  • Code structure

    void addByMailId(String sessionId, String mailId)