mailchimp

Looking to give MailChimp dynamic content?

自作多情 提交于 2019-11-29 09:42:54
问题 Ok so I'm looking to send out a weekly scheduled email with MailChimp. The email is to contain the newest 20 of the stock list (car stocklist of garage) to their subscribers. I can't seem to get this to work with an RSS feed as imagined so i wondered is there any other way to get some formatted HTML (in a PHP file) into the body of MailChimp template on a weekly basis? Many thanks. 回答1: If looking to inject custom content into a template at the time of sending, I would recommend having a look

Mailchimp form not submitting

空扰寡人 提交于 2019-11-29 04:37:50
I am trying to integrate MailChimp into a simple web site with form for submitting one's email to get more information. However, even after integration into existing web site form, it still does not submit any info to the List that has been setup on the MailChimp system. Since the integration into existing form did not work, I decided to go back a step and simply test the vanilla code that was produced by MailChimp - but even this will not work, so I did a search and found that this is a common problem with MailChimp as described on their web site: QUOTE 'My form isn't doing anything after

Calling MailChimp API v3.0 with .Net

跟風遠走 提交于 2019-11-28 23:50:59
I'm trying to access our MailChimp account via the new 3.0 REST API. I've done the following: using(var http = new HttpClient()) { var creds = Convert.ToBase64String(Encoding.ASCII.GetBytes("username:mailchimpapikey-us1")); http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", creds); string content = await http.GetStringAsync(@"https://us1.api.mailchimp.com/3.0/lists"); Console.WriteLine(content); } However, when I run this code, I get a 401 error with the following json details: {"type":"http://kb.mailchimp.com/api/error-docs/401-api-key-invalid","title":"API Key

Too many DNS lookups in an SPF record

谁说我不能喝 提交于 2019-11-28 16:22:17
My website needs to send out emails with Google Apps, SendGrid and MailChimp services. Google Apps is used to receive and read incoming email to my domain. I need to set the SPF record for my domain. The following is syntactically correct (not sure about A and MX tokens): "v=spf1 a mx include: _spf.google.com include: servers.mcsv.net include: sendgrid.net ~all" But if I test it with http://www.kitterman.com/getspf2.py I get PermError SPF Permanent Error: Too many DNS lookups Similar problem as http://www.onlineaspect.com/2009/03/20/too-many-dns-lookups-in-an-spf-record/ How can I optimize

HTML email in Gmail - CSS style attribute removed

扶醉桌前 提交于 2019-11-28 08:11:27
I'm working on an HTML email and I am using MailChimp's Responsive Email Templates in combination with their CSS inliner tool . For the most part, the email looks great across the myriad of email clients, but in Gmail things are horribly misrepresented. If I use Gmail's "Show original" option from the drop down menu next to the reply arrow, the original HTML is different from what is actually displayed in the email client. I can confirm this by inspecting the element with the developer tools. This happens on desktop and mobile; the email client is removing inline style attributes from elements

Simple php function to send an email with Mandrill

十年热恋 提交于 2019-11-28 04:22:57
What is the easiest way to send an email via Mailchimp's Mandrill service (using the API). Here's the send method: https://mandrillapp.com/api/docs/messages.html#method=send Here's the API wrapper: https://bitbucket.org/mailchimp/mandrill-api-php/src/fe07e22a703314a51f1ab0804018ed32286a9504/src?at=master But I can't figure out how to make an PHP function that will send and email via Mandrill. Can anyone help? Kaitlin We also have an official API wrapper for PHP, which is available on Bitbucket or via Packagist , which wraps the Mandrill API for you. If your Mandrill API key is stored as an

I need to do a http request to a mail chimp subscription list via a component post

笑着哭i 提交于 2019-11-28 02:23:19
I need to do a http request to a mail chimp subscription list via a component post I've read the mail chimp documentation and couldnt find anything on this. I also tried their mail chimp embedded form in an angular 2 html5 view but that doesnt work for some weird reason. So I've resulted to doing a http request to the subscribe list instead and I'm having trouble getting that working. I'm using typescript, angular2 and mail chimp This is my code so far: subscribe = () => { var url = "https://mysubscriptionlist.us10.list-manage.com/subscribe/post?u=b0c935d6f51c1f7aaf1edd8ff&id=9d740459d3

SSL errors using MailChimp's API

若如初见. 提交于 2019-11-27 23:56:21
I'm trying to connect with MailChimp's API, but keep getting errors: Error. API call to lists/list failed: SSL peer certificate or SSH remote key was not OK Then, I created a cacert.pem file and set it in the Mailchimp.php file: $this->ssl_cainfo = ROOT . DS . 'cacert.pem'; And get this: Error. API call to lists/list failed: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed or Error. API call to lists/list failed: SSL peer certificate or SSH remote key was not OK Per this page: I tried using the

Calling MailChimp API v3.0 with .Net

陌路散爱 提交于 2019-11-27 21:25:54
问题 I'm trying to access our MailChimp account via the new 3.0 REST API. I've done the following: using(var http = new HttpClient()) { var creds = Convert.ToBase64String(Encoding.ASCII.GetBytes("username:mailchimpapikey-us1")); http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", creds); string content = await http.GetStringAsync(@"https://us1.api.mailchimp.com/3.0/lists"); Console.WriteLine(content); } However, when I run this code, I get a 401 error with the

Mailchimp subscribe using jQuery AJAX?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 11:50:45
What is a complete jQuery solution to subscribing uses to a list on Mailchimp? The problem is that most solutions either use a library or require server side code. I want a quick elegant solution, which gives me complete control over the UI, hence UX of the form and it's functionality. nneko @Nagra's solution is good but it will throw an error when executed from the client's browser due to the Same-Origin Security Policies in effect. In essence, these security measures are there to prevent cross site requests that occur when the originator and the sender are on different domains. If you see