mandrill

Set Message-Id with Mandrill for bulk emails

血红的双手。 提交于 2019-12-19 19:57:27
问题 I am sending emails to lists of contacts based on templates using Mandrill. I would like to track if the contacts have replied to my email and, to do so, I would like to check whether the Message-Id of my sent emails appears in the In-Reply-To header field of new messages. The problem is that I have to generate and set the Message-Id manually since Mandrill only gives me their internal _id . However, since I am sending emails to various contacts at the same time, I set preserve_recipients to

Set Message-Id with Mandrill for bulk emails

纵饮孤独 提交于 2019-12-19 19:56:59
问题 I am sending emails to lists of contacts based on templates using Mandrill. I would like to track if the contacts have replied to my email and, to do so, I would like to check whether the Message-Id of my sent emails appears in the In-Reply-To header field of new messages. The problem is that I have to generate and set the Message-Id manually since Mandrill only gives me their internal _id . However, since I am sending emails to various contacts at the same time, I set preserve_recipients to

Mandrill: Conditional merge tags not working when rendering template

ε祈祈猫儿з 提交于 2019-12-13 15:00:22
问题 I've tried conditional merge tags(i.e something like |IF:MY_NUM!=0| ), it works as expected when sending emails. But when I try to render a template, given the same global_merge_vars and merge_vars, all the content within the IF merge tag block just remains blank. I got the rendered html code and render it with ExpressJS. Did I lose something? 来源: https://stackoverflow.com/questions/24906337/mandrill-conditional-merge-tags-not-working-when-rendering-template

jquery sending email with mandrill from an array

99封情书 提交于 2019-12-13 06:26:07
问题 I am struggling with this desperately. I want to collect an array of email addresses from a checkboxed table (some checked but not all) and pass them to Mandrill JavaScript code to send. There are 2 issues here: How to send multiple emails in general and How to pass an array to the mandrill code to execute email sending. The code is: <script> function log(obj) { $('#response').text(JSON.stringify(obj)); } function sendTheMail() { // Send the email! alert('scripting'); var emails = []; var

{{#each … }} on Mandrill is resulting in an empty string

三世轮回 提交于 2019-12-13 04:42:51
问题 I'm trying to create a Handlebars template in Mandrill that will print out a list of items. We're using the {{#each}} construct to do this: {{#each bottles}} <p>{{this.bottle_title}}</p> <p>{{this.description}}</p> <p>{{this.price}}</p> {{/each}} And, we're passing in JSON like this: {/*...*/ 'bottles' : [ { "wine_id":"1599", "bottle_title":"2012 Sapphire Hill \u2018Ketchum Reserve\u2019 Pinot Noir", "description":"<p>\n <strong>Winemaker Notes:<\/strong><br \/>\n Blended from 4 clones, with

Mandrill version 3 Ping() method

时光毁灭记忆、已成空白 提交于 2019-12-13 03:46:59
问题 In the previous version of Mandrill, I was using the following piece of code ( written in C# based on ASP.NET framework): MandrillApi mapi = new MandrillApi( SettingsKeyInfoProvider.GetValue("MandrillAPIKey"), SettingsKeyInfoProvider.GetBoolValue("MandrillUseSSL"), SettingsKeyInfoProvider.GetIntValue("MandrillTimeout")); // validate and respond string pingResult = mapi.Ping(); if (pingResult.ToUpper().Contains("PONG!")) return mapi; After updating the Mandrill version to 3 and how can I get

Mandrill with parse server not working on heroku migration

痞子三分冷 提交于 2019-12-13 01:43:39
问题 I have migrate app from parse.com to heroku with mLab and everything works fine except cloud code. I am using Mandrill for sending email from parse cloud code which is not working with heroku Here is what I have done so far: Installed mandrill ~0.1.0 into parse-server-example and push the code to heroku app Put the cloud code into '/cloud/main.js' Called the function from iOS app which respond error as: [Error]: Invalid function. (Code: 141, Version: 1.13.0). Here is my code script: Parse

List of Substitution Tokens in Sendgrid

主宰稳场 提交于 2019-12-13 01:24:47
问题 I'm sending a single transactional email to a single user and want to embed a list of items in the email. I can add single substitution values using the NPM package "sendgrid" in Node.js - https://github.com/sendgrid/sendgrid-nodejs: email.addFilter('templates', 'enable', 1); email.addFilter('templates', 'template_id', '11122233445....'); email.addSubstitution('{{TOKEN1}}', 'My Token1 Replacement'); But I can't see how add a list of items to the template in sendgrid. Using Mandrill I can use

Laravel 5.2 reset password + Mandrill

爱⌒轻易说出口 提交于 2019-12-13 00:44:34
问题 I have Laravel 5.2 fresh installation. I did following: I have set up my .env file MAIL_DRIVER=mandrill SECRET=my_mandrill_api_key I have installed Guzzle (https://github.com/guzzle/guzzle) I have setup my email in view (https://github.com/laravel/laravel/blob/5.0/resources/views/emails/password.blade.php) I have fixed the certificate issue (PHP cURL error code 60) So it seems everything is done correctly. When I fill email to reset password and press Send Password Reset Link button, I get

Mandrill- Attachments not sending attachment

萝らか妹 提交于 2019-12-12 02:56:20
问题 I am attempting to send a small rtf attachment through Mandrill. I have created the following json and tried it using the API test page. The attachment is base 64 encoded. The API reports no error and the email comes through but with no attachment. What am I doing wrong? { "attachments": [ { "type": "application/rtf", "name": "test.rtf", "content":