1. MailChimp
  2. Untitled project
  3. mandrill-api-node

Commits

MailChimp  committed 6d8fb50

Add CSS Inlining option to the sending API calls

  • Participants
  • Parent commits 35ac066
  • Branches master
  • Tags 1.0.11

Comments (0)

Files changed (3)

File mandrill.coffee

View file
  • Ignore whitespace
     port:   443,
     prefix: '/api/1.0/',
     method: 'POST',
-    headers: {'Content-Type': 'application/json', 'User-Agent': 'Mandrill-Node/1.0.10'}
+    headers: {'Content-Type': 'application/json', 'User-Agent': 'Mandrill-Node/1.0.11'}
 }
 
 class exports.Mandrill
          - track_opens {Boolean} whether or not to turn on open tracking for the message
          - track_clicks {Boolean} whether or not to turn on click tracking for the message
          - auto_text {Boolean} whether or not to automatically generate a text part for messages that are not given text
+         - inline_css {Boolean} whether or not to automatically inline all CSS styles provided in the message HTML - only for HTML documents less than 256KB in size
          - url_strip_qs {Boolean} whether or not to strip the query string from URLs when aggregating tracked URL data
          - preserve_recipients {Boolean} whether or not to expose all recipients in to "To" header for each email
          - bcc_address {String} an optional address to receive an exact copy of each recipient's email
          - track_opens {Boolean} whether or not to turn on open tracking for the message
          - track_clicks {Boolean} whether or not to turn on click tracking for the message
          - auto_text {Boolean} whether or not to automatically generate a text part for messages that are not given text
+         - inline_css {Boolean} whether or not to automatically inline all CSS styles provided in the message HTML - only for HTML documents less than 256KB in size
          - url_strip_qs {Boolean} whether or not to strip the query string from URLs when aggregating tracked URL data
          - preserve_recipients {Boolean} whether or not to expose all recipients in to "To" header for each email
          - bcc_address {String} an optional address to receive an exact copy of each recipient's email

File mandrill.js

View file
  • Ignore whitespace
     method: 'POST',
     headers: {
       'Content-Type': 'application/json',
-      'User-Agent': 'Mandrill-Node/1.0.10'
+      'User-Agent': 'Mandrill-Node/1.0.11'
     }
   };
 
              - track_opens {Boolean} whether or not to turn on open tracking for the message
              - track_clicks {Boolean} whether or not to turn on click tracking for the message
              - auto_text {Boolean} whether or not to automatically generate a text part for messages that are not given text
+             - inline_css {Boolean} whether or not to automatically inline all CSS styles provided in the message HTML - only for HTML documents less than 256KB in size
              - url_strip_qs {Boolean} whether or not to strip the query string from URLs when aggregating tracked URL data
              - preserve_recipients {Boolean} whether or not to expose all recipients in to "To" header for each email
              - bcc_address {String} an optional address to receive an exact copy of each recipient's email
              - track_opens {Boolean} whether or not to turn on open tracking for the message
              - track_clicks {Boolean} whether or not to turn on click tracking for the message
              - auto_text {Boolean} whether or not to automatically generate a text part for messages that are not given text
+             - inline_css {Boolean} whether or not to automatically inline all CSS styles provided in the message HTML - only for HTML documents less than 256KB in size
              - url_strip_qs {Boolean} whether or not to strip the query string from URLs when aggregating tracked URL data
              - preserve_recipients {Boolean} whether or not to expose all recipients in to "To" header for each email
              - bcc_address {String} an optional address to receive an exact copy of each recipient's email

File package.json

View file
  • Ignore whitespace
   "author": "Mandrill Devs <community@mandrill.com> (http://mandrill.com)",
   "name": "mandrill-api",
   "description": "The official API client for the Mandrill email as a service product.",
-  "version": "1.0.10",
+  "version": "1.0.11",
   "homepage": "https://bitbucket.org/mailchimp/mandrill-api-node",
   "repository": {
     "type": "git",