Double Opt-Out via API

TomJerry

New Member
Is there already a way to use the API for Double Opt-Out?
unsubscribeByEmail (as documented) is totally silent and ignores the Double Opt-out.
 
Of course this option is already set. When i am using the regular unsubscribe-form (/lists/LISTUID/unsubscribe) it is working as intended (sending mail to unsubscribe). But when i am using the API to unsubscribe the user is unsubscribed immediately.
Is there a API function i can use to mimic the regular process?
 
Seems this isn't coded at the moment. Attached quick diff *hacks* this feature into apps/api/controllers/List_subscribersController.php
Maybe gives a clue to someone who misses this, too.
 

Attachments

  • List_subscribersController.diff.txt
    3.9 KB · Views: 3
Back
Top