php - Mailchimp returns true but email not in list of subscribers -


laravel 4.2

mailchimp library: https://github.com/hugofirth/laravel-mailchimp

i have created list , added 2 subscribers in mailchimp gui.

<?php  $list_id = '******'; $email_address = 'someone@gmail.com'; $subscriber = mailchimpwrapper::lists()->subscribe(                   $list_id, array('email'=>$email_address)                );      return response::json ( [      'response'  => $subscriber ] );  ?> 

response true

{   "response": {     "email": "someone@gmail.com",     "euid": "d77e6cff13",     "leid": "50083933"   } } 

but when check on mailchimp list, see 2 emails, ones added via mailchimp.

i'm not super familiar laravel library, typically happens when forget set double-opt-in false. someone@gmail.com got sent double opt-in confirmation message.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -