How to send transactional emails using AutoSend SMTP Relay in Node.js?

Can I use AutoSend with Nodemailer or existing SMTP client libraries instead of the REST API?

Yes! AutoSend provides a high-performance SMTP relay.

SMTP Settings:

  • Host: smtp.autosend.com
  • Port: 587 (TLS) or 465 (SSL)
  • Username: autosend
  • Password: Your AutoSend API Key

Example with Nodemailer:

const nodemailer = require('nodemailer');

const transporter = nodemailer.createTransport({
  host: 'smtp.autosend.com',
  port: 587,
  auth: {
    user: 'autosend',
    pass: process.env.AUTOSEND_API_KEY
  }
});

Full step-by-step guide: AutoSend Nodemailer & SMTP Setup