mailchimp

How to disable Mailchimp double opt-in PHP

断了今生、忘了曾经 提交于 2019-12-09 07:11:21
问题 I'm totally new in Mailshimp stuff and I can't find anything on the web to disable the double opt-in. I don't use any Mailchimp API, I just have the form mailchimp gave me to put in my html. Any idea without using the API or if I have to, by using the API ? Thank you ! 回答1: require('Mailchimp.php'); $api = new Mailchimp( $api_key ); $result = $api->lists->subscribe( $api_key, $id, $data['email'], $merge_vars, 'html', false ); 6th parameter defines that whether to disable the opt-in or not.

Mailchimp API V3 jQuery Ajax POST subscribers

 ̄綄美尐妖づ 提交于 2019-12-09 03:06:34
问题 There has been a big update on the Mailchimp API (v3.0) and many of the jQuery plugins are out of date in order to POST subscribers on form.submit() . After reading v3.0 docs: Managing subscribers suggests the following JSON object format: { "email_address": "urist.mcvankab@freddiesjokes.com", "status": "subscribed", "merge_fields": { "FNAME": "Urist", "LNAME": "McVankab" } } And the following root endpoint for the API lists resource: https://<dc>.api.mailchimp.com/3.0/ So here's my form

MailChimp API member-info issue

女生的网名这么多〃 提交于 2019-12-08 19:19:12
问题 I need to retrieve all users infos via api, looking for it in the documentation I found this: http://apidocs.mailchimp.com/api/2.0/lists/member-info.php This is my code: $params = array( 'id' => $list_id, 'emails' => array( 'euid' => $member_id, ), ); $infos = $this->MailChimp->call('lists/member-info', $params); print_r($infos); and this is the result: Array ( [success_count] => 0 [error_count] => 1 [errors] => Array ( [0] => Array ( [email] => 63a885b7cf [error] => "email" should be a

MailChimp content blocks drag&drop not working

青春壹個敷衍的年華 提交于 2019-12-08 16:01:07
问题 I had to edit existing custom template in MailChimp service where drag&drop of content blocks isn't working. Template had a lot of nested tables so I contacted their support with response that some of block are nested and it might cause conflicts. To make simple test case scenario I removed most of code, styles and left just one repeatable block with one editable header inside. I was doing everything as mentioned in this part of documentation. According to article, on edit screen after

@media Breaks Gmail CSS

☆樱花仙子☆ 提交于 2019-12-08 11:14:39
问题 I am making custom template with MailChimp. I have yet to test it across several email clients, but so far my tests with gmail reveal that when I add this media query, not only does it not work, but it causes the entire html email to render without css. The other CSS works fine for gmail without the query. On other clients the media query works, and does not prevent the other CSS from working. Is this a known issue with gmail (and others), or is there a way to accomplish this? @media only

Mailchimp Batch Subscribe 2.0 Returns False on 500+ records (PHP)

倾然丶 夕夏残阳落幕 提交于 2019-12-08 09:08:46
问题 I have a php script to update my subscribers from my wordpress userlist to Mailchimp using batch-subscribe. (https://apidocs.mailchimp.com/api/2.0/lists/batch-subscribe.php) Everything works fine when I submit about 400 records. All records are added, and I get a return from the API with the number of added records, etc. If I submit about 600 or more (I have about 730 subscribers), all records are added to Mailchimp, but the API returns FALSE. I double checked it with === false, and it is

Mailchimp double_optin option not working

与世无争的帅哥 提交于 2019-12-08 07:47:01
问题 I've followed this tutorial to implement mailchimp API v2.0 on my website. It works great, however the double_optin option that I wanted to add and set to false (so that users don't need to validate their registration via e-mail) doesn't seem to be working. It's like if it was not taken into consideration at all, users still need to validate the registration via e-mail. Is 'double_optin' => false placed at the wrong place? I had a look at mailchimp documentation but my level in programmation

Mailchimp affects my Outlook-specific conditional comments in HTML

时光怂恿深爱的人放手 提交于 2019-12-08 06:58:31
问题 I'm having trouble getting my HTML email template to render properly when it is sent from Mailchimp to Outlook 2007, 2013 and 2016. The thing is, when I upload the HTML directly for testing on Litmus, the email renders fine across all Outlook previews. When I send the test email from Mailchimp to Litmus, the email looks out of proportion in Outlook 2007, 2013 and 2016 (for Win7). Is Mailchimp doing something with my Outlook-targeting conditional comments, and how can I work around that? My

Is it possible to code drag&drop templates for mailchimp?

痞子三分冷 提交于 2019-12-07 13:24:13
问题 Seems like mailchimp has two types of templates: classic and "drag and drop." The classic templates (they call these "themes") have content areas defined using the mc: attrubutes. Some of these can be repeated but can't be moved around. The "drag and drop" templates have "container" zones which accept content blocks from a menu which appears only when the template is of the "drag and drop" kind. Seems that it is impossible to code and import a "drag and drop" template. I tried exporting one

Iterating over collection in mailchimp template via API

雨燕双飞 提交于 2019-12-07 07:13:18
问题 Is there any chance to fill in repeatable sections via API? So for example I have list of products and I want to have product section only once in template and then iterate over collection. I have read previous discussion on this topics and googled but I still don't understand whether it is possible via an API. <!-- repeatable block --> <div mc:repeatable> <h2 mc:edit="product_title">Title</h2> <p mc:edit="product_description">Body</p> </div> <!-- /repeatable --> So can I supply something