addByMailId
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
Parameters
Name | Type | Value |
---|---|---|
sessionId | String | ID of the session |
mailId | String | ID of the email |
Return values
-
Code structure
void addByMailId(String sessionId, String mailId)
Updated almost 3 years ago
Next