A Mandrill transport for Nodemailer.
'use strict';var nodemailer = ;var mandrillTransport = ;var transport = nodemailer;transport;
Using Mandrill API options
It is possible to use any Messages Send Mandrill API option by passing it into
mandrillOptions option. These will be deeply merged over the API call this
transport builds for you. For example, this transport enables the
by default. To disable this,
Sending Images to Mandrill
To send images as attachments:
name: image cid:
Reference your attached image in your HTML:
Make sure to use unique cids for your images!
content: a base64 representation of your image.
var fs = ;var imgBuff = fs;imgBuff;
Using Mandrill Templates
To send email using templates stored on Mandrill: