mandrill

Why is my mails staying in “backlog” of Mandrill?

假如想象 提交于 2019-12-04 16:02:03
问题 at previous hour we reached the number of maximum limit of sending emails per hour which is not surprising since we know our limit per hour to send. However, after an hour passed I assumed that the rest of the emails will be sent automatically. It did not work that way. Now I have over 800 per hour to send and I sent 0 in this hour, at the same time, I see that 139 emails are backlogged from previous hour. Could you please help me how can I send those? 回答1: For everyone with a new account

Conditional content in Mandrill template

徘徊边缘 提交于 2019-12-04 12:31:32
I am handing over dictionary keys (key value pair) to a service which in turn utilizes the api to send the email via Mandrill. Now, if my key is blank then i dont want it to be included in the email. Like in the following scenario, i only want the link text to display if my key has some value. <a href=" |UPDATE_PROFILE| " target="_blank" >change subscription preferences</a> How can i write it some thing like or even is this possible? if *|UPDATE_PROFILE|* IS NOT EMPTY BEGIN <a href="*|UPDATE_PROFILE|*" target="_blank">change subscription preferences</a> END I have found the answer here: http:/

Does Google Schema support quoted-printable encoding?

主宰稳场 提交于 2019-12-04 11:49:38
I'm trying to self-test my email schemas. My mail is sent with: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The original script tag <script type="application/ld+json"> is rendered as <script type=3D"application/ld+json"> , when I View Original the marked up email. This fails the markup tester , but when I manually remove the 3D , it passes the test. Q1 - Does Google support quoted-printable encoding? Q2 - Why does the test fail? Note: On a Rails application I use the Mandrill API to send the email. 1.) Yes, quoted-printable is supported. 2.) You're

Sending email with Mandrill using PHP

给你一囗甜甜゛ 提交于 2019-12-04 08:42:50
I'm trying to send email using Mandrill and PHP and I can't get it to send. I've downloaded the PHP API wrapper from here: https://packagist.org/packages/mandrill/mandrill Mandrill.php is in my root and the Mandrill folder is in the same directory. Here's my code: <?php require_once 'Mandrill.php'; $mandrill = new Mandrill('MY API KEY IS USUALLY HERE'); $message = array( 'subject' => 'Test message', 'from_email' => 'jwjody@yahoo.com', 'from_name' => 'Sender person', 'html' => '<p>this is a test message with Mandrill\'s PHP wrapper!.</p>', 'to' => array(array('email' => 'jwjody@yahoo.com',

Extra “\\n ” in Mandrill raw_message break some links

杀马特。学长 韩版系。学妹 提交于 2019-12-04 07:50:45
I am sending e-mails from a Rails app on Heroku to Mandrill via SMTP. Everything has been working fine for a while, but recently (detected 2 days ago), we received reports that some links are broken. When I send the message to Mailtrap, also via SMTP, the raw message is fine, with the HTML body in 1 single line. On Mandrill however, the raw_message that appears in the API call contains extra \n (that's a newline followed by a space). A little bit of bad luck, and a link appears like this: <a href=\"https://www.\n facebook.com/ With link tracking ON, this is translated to: https://www.

Mandrill ValidationError

雨燕双飞 提交于 2019-12-04 01:32:00
Very excited to be asking my first question on StackOverflow. I've been relying on it to teach myself quite a lot over the years! My question is this. I am getting the following error when trying to send a mail through Mandrill's API: {"status":"error","code":-1,"name":"ValidationError","message":"You must specify a key value"} The code that follows is what I am using to try to send the mail: <?php $to = 'their@email.com'; $content = '<p>this is the emails html <a href="www.google.co.uk">content</a></p>'; $subject = 'this is the subject'; $from = 'my@email.com'; $uri = 'https://mandrillapp.com

Mandrill email attachments file path

别等时光非礼了梦想. 提交于 2019-12-03 06:53:15
问题 I am trying to add some attachments to an email that is being sent using the mandrill api via a php wrapper. I have tried a number of different things to try to successfully attach the file but to no avail. I am using cakephp 2.x but I don't think that has any particular significance in this instance (maybe it does?!). I am using the php wrapper maintained by mandrill at https://bitbucket.org/mailchimp/mandrill-api-php Here is the code: $mandrill = new Mandrill(Configure::read('Site.mandrill

Mandrill and view in browser functionality

半世苍凉 提交于 2019-12-03 04:21:08
Anyone know if Mandrill support a "View in browser" functionality like the MailChimp |ARCHIVE| variable. If not, can I use the search functionality to fetch a send mail (for example if I know some specific metadata for the mail in question)? Or would I have to render the template and store it myself for later retrieval? The best bet is to store a copy on your server that you can link to from within an email when it makes sense, such as for bulk emails. The ARCHIVE merge tag isn't supported in Mandrill automatically, as that's specific for a campaign in MailChimp that may be sent to a large

Is is possible to specify my own Message-Id email header when sending using Mandrill?

匆匆过客 提交于 2019-12-02 10:08:15
问题 I am sending emails using Mandrill and I want to set the Message-ID myself. I see now an ID like this: Message-Id: <30152892.20150311183809.55008b919f0c49.69649774@mail132-29.atl131.mandrillapp.com> What I am trying to do is to find out why Gmail does not group messages sent from Mandrill into conversations. Maybe this has to do with the Message-ID and In-Reply-To headers. I am using the Mandrill Node API and the sendTemplate function has an option to set headers . But this is not working

No message exists with the id *id*

空扰寡人 提交于 2019-12-02 00:12:09
问题 I'm trying to list sent emails via the mandrill API. I can list them fine by calling https://mandrillapp.com/api/1.0/messages/search.json. This gives me a list that contains a bunch of sent messages along withg an id field. I then use this ID field when calling https://mandrillapp.com/api/1.0/messages/content.json (need to know some of the content). It gives me the following response: { status: "error" code: 11 name: "Unknown_Message" message: "No message exists with the id ' id goes here '"