Commits

MailChimp committed 0cb805b

Added sending options for custom tracking and SPF/DKIM signing domains.

Comments (0)

Files changed (3)

     port:   443,
     prefix: '/api/1.0/',
     method: 'POST',
-    headers: {'Content-Type': 'application/json', 'User-Agent': 'Mandrill-Node/1.0.11'}
+    headers: {'Content-Type': 'application/json', 'User-Agent': 'Mandrill-Node/1.0.12'}
 }
 
 class exports.Mandrill
          - 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
+         - tracking_domain {String} a custom domain to use for tracking opens and clicks instead of mandrillapp.com
+         - signing_domain {String} a custom domain to use for SPF/DKIM signing instead of mandrill (for "via" or "on behalf of" in email clients)
          - merge {Boolean} whether to evaluate merge tags in the message. Will automatically be set to true if either merge_vars or global_merge_vars are provided.
          - global_merge_vars {Array} global merge variables to use for all recipients. You can override these per recipient.
              - global_merge_vars[] {Object} a single global merge variable
          - 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
+         - tracking_domain {String} a custom domain to use for tracking opens and clicks instead of mandrillapp.com
+         - signing_domain {String} a custom domain to use for SPF/DKIM signing instead of mandrill (for "via" or "on behalf of" in email clients)
          - global_merge_vars {Array} global merge variables to use for all recipients. You can override these per recipient.
              - global_merge_vars[] {Object} a single global merge variable
                  - name {String} the global merge variable's name. Merge variable names are case-insensitive and may not start with _
     method: 'POST',
     headers: {
       'Content-Type': 'application/json',
-      'User-Agent': 'Mandrill-Node/1.0.11'
+      'User-Agent': 'Mandrill-Node/1.0.12'
     }
   };
 
              - 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
+             - tracking_domain {String} a custom domain to use for tracking opens and clicks instead of mandrillapp.com
+             - signing_domain {String} a custom domain to use for SPF/DKIM signing instead of mandrill (for "via" or "on behalf of" in email clients)
              - merge {Boolean} whether to evaluate merge tags in the message. Will automatically be set to true if either merge_vars or global_merge_vars are provided.
              - global_merge_vars {Array} global merge variables to use for all recipients. You can override these per recipient.
                  - global_merge_vars[] {Object} a single global merge variable
              - 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
+             - tracking_domain {String} a custom domain to use for tracking opens and clicks instead of mandrillapp.com
+             - signing_domain {String} a custom domain to use for SPF/DKIM signing instead of mandrill (for "via" or "on behalf of" in email clients)
              - global_merge_vars {Array} global merge variables to use for all recipients. You can override these per recipient.
                  - global_merge_vars[] {Object} a single global merge variable
                      - name {String} the global merge variable's name. Merge variable names are case-insensitive and may not start with _
   "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.11",
+  "version": "1.0.12",
   "homepage": "https://bitbucket.org/mailchimp/mandrill-api-node",
   "repository": {
     "type": "git",