Anna
Anna

Reputation: 3141

Mailchimp API 3.0 does not send welcome emails

I am trying to subscribe user to mailchimp list, like this

 $MailChimp = new MailChimp($apikey);
 $result = $MailChimp->post('lists/'.$list.'/members', array(
                    'email_address'     => $email,
                    'status'            => 'subscribed',
                    'send_welcome'      => true,
                    'double_optin'      => false
));

Email was subscribed but no Welcome Email was sending to user. I turn on "Send a final welcome email" in mailchimp settings for this list. But it does not work. Please give me an advice

Upvotes: 1

Views: 2182

Answers (1)

Azri Jamil
Azri Jamil

Reputation: 2404

If you check the documentation here the request body parameter no longer accepting that parameter. It was there on API 2.0.

Upvotes: 2

Related Questions