mailchimp

Mandrill Editable Template: mc:edit link href

僤鯓⒐⒋嵵緔 提交于 2019-12-07 05:32:05
问题 I'm trying to use Mandrill templates to send order tracking emails. Using the mc:edit works well for simple text like <span mc:edit="ship_id">ship_id</span><br> I was wondering if there was a way to pass the href link in a variable i.e. tracking_url <a class="mcnButton " title="Track order" href=tracking_url target="_blank" style="font-weight: bold;text-align: center;">Track Order</a> I'm using Djrill for Django and here's the code which sends the email so far, and I'd like to add tracking

MailChimp jQuery Conflict

与世无争的帅哥 提交于 2019-12-07 03:30:34
问题 I've been having the most AWFUL time integrating MailChimp into a site I'm designing! The problem is that validation is not working for the embedded subscribe form. Instead of inlining error messages, the form is kicking the user over to the MailChimp signup page to correct errors or confirm list opt in. I've done a heavy amount of customization to the code, so unfortunately going back to the default is not an option. Here are the errors I'm getting, but I'm a JS n00b so I don't know what

Mailchimp needs 140kb to be loaded

五迷三道 提交于 2019-12-07 02:04:18
问题 I use mailchimp to let users sign for a newsletter on my website. I just realized that mailchimp needs 140kb for that which is almost 10% of my landing page loadings. <!-- Begin MailChimp Signup Form --> <div class=" col-sm-8 col-sm-offset-2 col-xs-12 onewayDistance" ng-class="{'col-md-8 col-md-offset-2': !newsletterModal,'col-md_8':newsletterModal}" > <!--link href="//cdn-images.mailchimp.com/embedcode/classic-081711.css" rel="stylesheet" type="text/css"--> <div id="mc_embed_signup" > <form

Yii2 create a form without a model

自闭症网瘾萝莉.ら 提交于 2019-12-07 01:56:46
问题 I was wondering how can I create a form without a model in Yii2 framework as I am creating a mailchimp signup form so a model isn't necessary the below code generates a form however as you can see it uses a model. <?php $form = ActiveForm::begin(['id' => 'login-form']); ?> <?= $form->field($model, 'title')->textInput(['maxlength' => 255]) ?> <?php ActiveForm::end(); ?> Do I still use activeform, how can I remove the $model variable without it throwing up an error? 回答1: Yii2 has this nice

mailchimp 3.0 Get template in html form

痴心易碎 提交于 2019-12-07 01:15:38
问题 Is there a way to get the actual html file in Mailchimp API 3.0? I tried this method, /3.0/templates/{template-Id}?apikey={myAPIkey} but it's not returning the actual file, it's giving me the thumbnail of the template. 回答1: There is currently no single API call to get the HTML source for a template as there is in API 2.0. Below is the reply I got from MailChimp support on December 9th, 2016: Thanks for reaching out to us with your question. At this time, API 3.0 does not contain a direct

Subject encoding on SmtpClient/MailMessage

戏子无情 提交于 2019-12-07 00:15:01
问题 I am trying to send emails that contain non-ASCII characters using the SmtpClient and MailMessage classes. I am using an external mailing service (MailChimp) and some of my emails have been rejected by their SMTP server. I have contacted them and this is what they replied: It appears the subject line is being Base64 encoded and then Quoted-Printable encoded, which generally should be fine, but one of the characters is being broken across two lines. So when your subject lines are a bit longer,

How to pass email address to webhook from mailchimp

倖福魔咒の 提交于 2019-12-06 16:43:44
I am building a web app in PHP that subscribes and unsubscribes members from a mailchimp list via the API. What I'm trying to add (and having extreme difficulty with) is use the mailchimp web hook features to pass the email address of someone that has unsubscribed through mailchimp to the hook that I have created on my app to that it will then update the database. The app expects to receive the below url to update the database domain.com/includes/mailchimp-update.php?email=mail@domain.com I am unsure as how to get that from the mailchimp web hook, and can not find anything on here about it or

How to find people who clicked on a specific campaign using Mailchimp API v3

柔情痞子 提交于 2019-12-06 16:39:09
问题 How do I find the list of all people who clicked on a specific campaign through Mailchimp API v3 ? 回答1: I think Email Activity is what you are looking for. the emails field contains all emails that opened the campain. 来源: https://stackoverflow.com/questions/37741487/how-to-find-people-who-clicked-on-a-specific-campaign-using-mailchimp-api-v3

Mailchimp double_optin option not working

人走茶凉 提交于 2019-12-06 15:46:09
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 is not good enough to identify what is wrong. Thanks for your help <?php $api_key = "12345486-us8";

Mailchimp Conditional Merge tags using a date field not working

余生长醉 提交于 2019-12-06 08:51:55
This is not about the API. This is about using Mailchimp and setting conditional merge fields in the backend of Mailchimp when building a campaign. So this question is about how Mailchimp works rather than about integrating Mailchimp via an API or something similar. (You're still here? Great! :-) I'm trying to use a date field to show conditional content. I have 3 people in my test mailing list, one with birthday 1/1/1960, one with 1/1/1970 and one with 1/1/1980. I've set up an email with three conditional block so that each recipient should get the right piece of text in his mail. It looks