Changing subscriber’s status via API
-
I’ve been testing MailPoet3 for a while and developing my newsletter form mostly by using API.
There is one thing I cannot figure out the situation like as following.
- A user singed up and get a news letter.
- He/She change their status to unsubscribed from the link in news letter.
- Sometimes later he/she sign up for the same news letter again.
I thought subscriber’s status was going to be ‘subscribed’ again at this point but it remained ‘unsubscribed’.
If subscriber delete (or lost) the news letter, it seems like there is no way he/she can subscribe the same newsletter again unless the admin manually change his/her status in the admin panel.
I might misunderstand and wrongly use the API in the first place.
I use API like this by the way.
$mailpoet_api->subscribeToLists($subscribersEmail, [$listID]);
Any thought or answer appreciated.
- The topic ‘Changing subscriber’s status via API’ is closed to new replies.