mailchimp

How do you create a List using mailchimp API v1.3 php

强颜欢笑 提交于 2019-12-11 02:58:24
问题 i have been looking at the API http://apidocs.mailchimp.com/api/1.3/ and i can't find a way to create to a new list. Please help 回答1: It's not possible through the API. It would probably open way too many doors for abusers. Just make as many lists as you need from within the web-app. (and look at using groups to structure your list data instead) 回答2: A workaround would be to make a main list, and add interest and when sending filter by interest. 回答3: This is not possible, the only way to add

Python: Adding subscribers to mailchimp with bulk API V3

谁说我不能喝 提交于 2019-12-11 02:04:26
问题 Im trying to write a function to create subscribers in mailchimp, but I get an error, and I can't understand what is wrong. Im using python-mailchimp (And yes, I have mye correct list-id and not 000000) My code: from mailchimp3 import MailChimp def export_to_mailchimp(): #Get all users in DB users = User.objects.all() #Create list for dictionaries databody = [] #loop through queryset for userobject in users: #Create dictionary databody_item = { "email_address": item.email, "status":

Can not re-subscribe deleted member

痴心易碎 提交于 2019-12-11 01:03:37
问题 When using MailChimp API v3, then delete a member using "DELETE" method I can;t re-subscribe the same email, even when it not exists in list it keep say <email> is already a list member. Use PUT to insert or update list members. 回答1: I wrote Mail Chimp asking about this after having the same problem. They recently restructured how they handle deletions to stay compliant with local and international sending laws. Now when you delete a subscriber, the subscriber is technically removed from the

Mailchimp automation send same email multiple time

ε祈祈猫儿з 提交于 2019-12-10 23:55:33
问题 I use mailchaimp automation workflow on a landing page to send emails to my customers. The automation workflow is : Customer enter his email in my form The customer is added to my mailchimp list (or updated if already exist) with api V3 I call send the first email with this trigger (http://developer.mailchimp.com/documentation/mailchimp/reference/automations/emails/queue/) Some time later automation send a second email to my subscriber. This workflow work great the first time but if my

using an existing form to send data to mailchimp, then redirect

僤鯓⒐⒋嵵緔 提交于 2019-12-10 20:34:39
问题 I haven't worked with my mailchimp a whole lot, so I'm wondering if it was possible to easily send form data to mailchimp without using their premade templates. Also, will mailchimp send a callback of some sort? I want to have form submitted then when finished it would redirect the user to a download page. It would be even better if it could all work in ajax/jquery. 回答1: Basically, you use jQuery ajax() on your own custom HTML form to access PHP files which communicate with the MailChimp API.

Mailchimp: re-confirm subscribers with a one-click button

☆樱花仙子☆ 提交于 2019-12-10 20:19:16
问题 I have been sent an example of a mailchimp HTML email which allows users to re-express their wish to stay on a mailing list. It just contains a brief message and one big button " Opt In " which users simply have to click once. The code of the button is as follows: <img src=3D"https://somewebsite.us6.list-manage.com/track/open.php?u=3D=e57uw79a33&id=3Dhs7de4d771&e=3D936b9800f2" height=3D"1" width=3D"1"> (Obviously I've changed the URL and ID parameters for security). I'm trying to work out how

What is the right syntax for “timeframe” in MailChimp API 3.0

南笙酒味 提交于 2019-12-10 19:37:17
问题 I want to use the MailChimp API 3.0: http://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/# How do I set the query string parameter for the fields since_timestamp_opt , before_timestamp_opt , since_last_changed and before_last_changed ? Is it a timestamp , something like this: 2016-03-08 17:50:41 or something else? Can somebody give me an example? 回答1: It is 2016-03-08 17:50:41 YYYY-MM-DD hh:mm:ss 来源: https://stackoverflow.com/questions/35875377/what-is-the-right

How to save email to subscribers with checkbox?

喜你入骨 提交于 2019-12-10 19:03:05
问题 When the box is checked how can I add the user's email from 'Enter Email' to my mailchimp subscribers list upon him clicking Save? user/new.html.erb <%= form_for(@user) do |f| %> <%= f.email_field :email, placeholder: 'Enter Email' %> <%= f.check_box ????? %> Get blog posts from Anthony Galli, CEO & Founder about conquering challenges in life & business! <% end %> Outside of the signup process people can subscribe via inputting their email in subscribes/subscribe.html.erb . <!-- MailChimp

Testing Mailchimp 3.0 and Gibbon 2.x with Rspec

若如初见. 提交于 2019-12-10 15:43:31
问题 I have a rails 4.2 app that has a newsletter signup via MailChimp using the Gibbon gem. Here is my initializer: Gibbon::Request.api_key = ENV['MAILCHIMP_API_KEY'] Gibbon::Request.timeout = 15 Gibbon::Request.throws_exceptions = false Here are the relevant methods in user.rb: # returns the mailchimp member if one exists for @user.email def mailchimp_user gb = Gibbon::Request.new(api_key: ENV['MAILCHIMP_API_KEY']) gb.lists(ENV['MAILCHIMP_LIST_ID']).members(Digest::MD5.hexdigest("#{self.email

MailChimp template: Nested repeatable variants?

前提是你 提交于 2019-12-10 14:30:12
问题 I'm building a MailChimp template and would like to have nested repeatable variants. Something like this -- Variant 1A -- Variant 2A -- Variant 2B -- Variant 1B -- Variant 3A -- Variant 3B -- Variant 1C -- Variant 4A -- Variant 4B When I nest mc:repeatable="" and mc:variant="" elements inside another repeatable/variant tag it doesn't work. The inner repeatables don't appear in the editor. Removing the inner repeatable/variant tags makes the content appear again, but the ability to repeat the