mandrill

Deserializing MandrillApp Webhook response

杀马特。学长 韩版系。学妹 提交于 2019-12-01 21:16:57
MandrillApp API supposedly sends a JSON-encoded array of the messages with the mime type application/x-www-form-urlencoded . The problem I have encountered is that the data received looks like: mandrill_events=%5B%7B%22event%22%3A%22send%22 %2C%22msg%22%3A%7B%22ts%22%3A136510999...etc Url decoded it is: mandrill_events=[{"event":"send","msg":{ "ts":1365109999,"subject"...etc I try to deserialize this string into a class that represents the JSON data but the JSON.NET deserializer spits out an error. Code m = JsonConvert.DeserializeObject<MandrillEvents>(s); Exception Unexpected character

Attach Files to Mandrill Message with Browse Button

我的梦境 提交于 2019-12-01 20:56:56
问题 I'm not sure whether this is even possible, but I'm trying to attach a file to an outgoing email with the Mandrill API from the file upload button ( input type="file" ). To be honest, I'm not entirely sure what document.getElementById('idOfFileInput').value actually returns. I know that this is not the place to ask a novice question like that, but I've looked everywhere and I can't find it (I know one of you will be sly and point me to some article within five minutes). That aside, though, I

PHPMailer SMTP connect failed

こ雲淡風輕ζ 提交于 2019-12-01 20:33:12
I'm trying to send email over Mandrill with PHPMailer but withouth sucess (testing on localhost). Can someone tell me where is the problem? This is the verbose information from PHPMailer: 2014-04-27 17:51:06 SERVER -> CLIENT: 220 smtp.mandrillapp.com ESMTP 2014-04-27 17:51:06 CLIENT -> SERVER: EHLO 127.0.0.1 2014-04-27 17:51:06 SERVER -> CLIENT: 250-ip-10-107-129-238 250-PIPELINING 250-SIZE 26214400 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250 8BITMIME 2014-04-27 17:51:06 CLIENT -> SERVER: STARTTLS 2014-04-27 17:51:06 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS 2014-04-27

Set Message-Id with Mandrill for bulk emails

孤人 提交于 2019-12-01 18:16:41
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 false . But then I can only set one Message-Id , which will therefore become not globally unique . Here

Emails very delayed getting from mandrill to gmail

[亡魂溺海] 提交于 2019-12-01 02:22:48
For the past 4 months we have been seeing large delays when sending emails through mandrill to gmail addresses. Sometimes it takes 15 minutes but other times it can be up to an hour. When i check the mandrill outbound section shortly after the email is sent it shows the email was delivered, but it usually takes a while before it actually shows up in my inbox. We are using this service for welcome emails and password resets so waiting long periods of time isn't acceptable. It has been very hard to find any information on this issue. Has anyone seen this issue? Any recommendations on what i

mc:edit do not work in Mailchimp template with Mandrill Javascript API

馋奶兔 提交于 2019-12-01 00:42:48
I'm trying to send emails through the Mandrill API with Mailchimp templates. I am doing this in the cloud code with Parse.com, see here https://www.parse.com/docs/cloud_modules_guide#mandrill . The emails are sent just fine, however, the mc:edit fields are never updated. This is the only content in the template now: <span mc:edit="ship_id">ship_id</span> This is what my call in Javascript looks like, hope somebody sees my mistake. I'm running this in Parse.com cloud code if that makes any difference. Thanks a lot! var Mandrill = require('mandrill'); Mandrill.initialize('api-key'); Mandrill

Emails very delayed getting from mandrill to gmail

爷,独闯天下 提交于 2019-11-30 21:51:17
问题 For the past 4 months we have been seeing large delays when sending emails through mandrill to gmail addresses. Sometimes it takes 15 minutes but other times it can be up to an hour. When i check the mandrill outbound section shortly after the email is sent it shows the email was delivered, but it usually takes a while before it actually shows up in my inbox. We are using this service for welcome emails and password resets so waiting long periods of time isn't acceptable. It has been very

mc:edit do not work in Mailchimp template with Mandrill Javascript API

心已入冬 提交于 2019-11-30 20:35:00
问题 I'm trying to send emails through the Mandrill API with Mailchimp templates. I am doing this in the cloud code with Parse.com, see here https://www.parse.com/docs/cloud_modules_guide#mandrill. The emails are sent just fine, however, the mc:edit fields are never updated. This is the only content in the template now: <span mc:edit="ship_id">ship_id</span> This is what my call in Javascript looks like, hope somebody sees my mistake. I'm running this in Parse.com cloud code if that makes any

Laravel: Class 'GuzzleHttp\Client' not found

落花浮王杯 提交于 2019-11-29 05:48:02
问题 I am trying to use Mandrill to send emails via my Laravel framework, however I am receiving the following error: FatalErrorException in MandrillTransport.php line 114: Class 'GuzzleHttp\Client' not found I have installed Guzzle using the following command in Terminal: "guzzlehttp/guzzle": "~4.0" According to Laravel's documentation I need to add "guzzlehttp/guzzle": "~4.0" to my composer.json file, but I'm not sure if where I have placed it is correct as I still see the error. { "name":

error in send email using Mandrill (php)

和自甴很熟 提交于 2019-11-29 02:04:06
I am using mandrill api for the first time. I am using following code. I have Mandrill API Key with me. <?php try { $mandrill = new Mandrill('YOUR_API_KEY'); $message = array( 'html' => '<p>Example HTML content</p>', 'text' => 'Example text content', 'subject' => 'example subject', 'from_email' => 'message.from_email@example.com', 'from_name' => 'Example Name', 'to' => array( array( 'email' => 'recipient.email@example.com', 'name' => 'Recipient Name' ) ), 'headers' => array('Reply-To' => 'message.reply@example.com'), 'important' => false, 'track_opens' => null, 'track_clicks' => null, 'auto