I'm using Mailgun API for sending emails in my app. I get to notice that if a user subscribes, and try to subscribe again, mailgun returns an error The parameters passed to the API were invalid. Check your inputs!
showing my root directory and the line number. What I want to do is to first of all check if a user has been subscribed, before going ahead to try subscribing. How can I achieve this, please?
I'm using PHP.
Mailgun:检查用户是否已订阅
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答
- doufubian3479 2016-05-21 10:34关注
According to the mailgun api documentation you can do a request like this: GET /lists//members/
解决 无用评论 打赏 举报