根据mailgun邮件列表中的变量更新条目的信息

I have a mailing list on mailgun. The system adds a member to the mailing list with a variable named "id". Like this:

    $result = $mgClient->post("lists/$listAddress/members", array(
             'address'     => $email,
             'name'        => $name,
             'subscribed'  => true,
             'vars'        => '{"id":'.$id.'}'
            ));

Is there any way of updating that member's details (email and the name) based on the value of "id"?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问