mailchimp

Javascript + MailChimp API subscribe

自闭症网瘾萝莉.ら 提交于 2020-01-30 19:09:09
问题 When making this request: // Subscribe a new account holder to a MailChimp list function subscribeSomeoneToMailChimpList() { var options = { "apikey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "id": "xxxxxx", "email": { "email": "me@example.com" }, "send_welcome": false }; var mcSubscribeRequest = UrlFetchApp.fetch("https://us4.api.mailchimp.com/2.0/lists/subscribe.json", options); var mcListObject = Utilities.jsonParse(mcSubscribeRequest.getContentText()); } This response is returned: Request failed

Javascript + MailChimp API subscribe

我怕爱的太早我们不能终老 提交于 2020-01-30 19:07:30
问题 When making this request: // Subscribe a new account holder to a MailChimp list function subscribeSomeoneToMailChimpList() { var options = { "apikey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "id": "xxxxxx", "email": { "email": "me@example.com" }, "send_welcome": false }; var mcSubscribeRequest = UrlFetchApp.fetch("https://us4.api.mailchimp.com/2.0/lists/subscribe.json", options); var mcListObject = Utilities.jsonParse(mcSubscribeRequest.getContentText()); } This response is returned: Request failed

Mailchimp API login returning “bad request”

风流意气都作罢 提交于 2020-01-23 16:27:26
问题 I am trying to sign in, using the mailchimp api, but I am getting StatusCode "400 Bad Request". How can I solve this error? index.cfm <cfform action="https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=462880470696&redirect_uri=http://127.0.0.1:8500/mailchimp/callback.cfm" method="post"> Click Submit Button <cfinput type="Submit" name="SubmitForm" value="Submit"> callback.cfm <cfoutput>#URL.code#</cfoutput> <cfhttp url="https://login.mailchimp.com/oauth2/token" method=

Mailchimp API login returning “bad request”

北城余情 提交于 2020-01-23 16:27:05
问题 I am trying to sign in, using the mailchimp api, but I am getting StatusCode "400 Bad Request". How can I solve this error? index.cfm <cfform action="https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=462880470696&redirect_uri=http://127.0.0.1:8500/mailchimp/callback.cfm" method="post"> Click Submit Button <cfinput type="Submit" name="SubmitForm" value="Submit"> callback.cfm <cfoutput>#URL.code#</cfoutput> <cfhttp url="https://login.mailchimp.com/oauth2/token" method=

SSL errors using MailChimp's API

早过忘川 提交于 2020-01-19 03:45:30
问题 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

Get html source code through Mailchimp API

梦想与她 提交于 2020-01-17 14:06:16
问题 I'm trying to use the Mailchimp API to download the html code used in a specific campaign. I was looking at this: http://kb.mailchimp.com/api/resources/campaigns/campaigns-instance which works fine, but I do not see how to the get the html source code. Is it because this is not allowed? 回答1: Now , you can access mailchimp v3 api from here. If you want to update html content of a specific campaign. Use this request pattern e.g. Unschedule your campaign Update campaign HTML Content through PUT

MailChimp API - how to bypass the review process

為{幸葍}努か 提交于 2020-01-06 15:32:53
问题 I am building a system that should send out nightly email reminders to my subscribers. I've been asked to use Mailchimp as the email delivery service. I've begun integration with the MailChimp API. But it seems that every time I transmit email content and subscriber lists to mailchimp, it does not immediately get emailed. Instead, someone still needs to login to mailchimp, manually review, assign subscriber list, publish and send the emails. I can't figure out how to bypass this "staging"

Button next to Mailchimp box

☆樱花仙子☆ 提交于 2020-01-06 08:29:30
问题 On this page: http://www.christophelouage.be/category/blog/ I don't succeed in putting the red 'OK' button in the sidebar to the right of the input box. I tried for hours, no luck. This is the code of the widget: <!-- Begin MailChimp Signup Form --> <link href="//cdn-images.mailchimp.com/embedcode/classic-081711.css" rel="stylesheet" type="text/css"> <style type="text/css"> #mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; } /* Add your own MailChimp form

How to display the Mailchimp subscribe popup form on click

谁都会走 提交于 2020-01-06 04:53:27
问题 I am using WordPress. I have to display the Mailchimp subscribe popup on click on the button. I found some URL https://medium.com/@rekommend_io/mailchimp-pop-up-based-on-click-a0975374c804 https://gist.github.com/scottmagdalein/259d878ad46ed6f2cdce MailChimp - show modal sign up form popup on button click Also Sharing same code here <ul><li class="open-popup"><a href="#">Subscribe to our mailing list</a></li></ul> <script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com

Mailchimp gem double_optin false not working

a 夏天 提交于 2020-01-06 01:36:30
问题 double opt-in confirmation email still goes through, any idea what's wrong? Was having problems with the gibbon gem, so opted for mailchimp gem instead. Gemfile gem "mailchimp-api", "~> 2.0.4" application_controller.rb class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception before_action :setup_mcapi def setup_mcapi @mc = Mailchimp::API.new('mailchimp api