Setup other transporter

In addition to SMTP you can use other kind of transports as well with Nodemailer. See Available Transports below for known transports.

The following example uses nodemailer-ses-transport (Amazon SES).

var nodemailer = require('nodemailer');
var ses = require('nodemailer-ses-transport');
var transporter = nodemailer.createTransport(ses({
    accessKeyId: 'AWSACCESSKEY',
    secretAccessKey: 'AWS/Secret/key'
}));

Available Transports