For Developers By Developers

You can integrate Mailazy in minutes with your platform. Build and monitor your email solution on a trusted foundation with technical and strategic support when you need it the most.

Trusted by 120+ partners and delivering over 650 Million emails/month

Configure Subscription renewal emails with SMTP for NodeJS

Subscription renewal emails is an important component of any email communication strategy. In order to ensure delivery of Subscription renewal emails to your customers, reply on a trusted cloud-based email provider like Mailazy as a partner in your growth journey.

Prerequisites

You need to complete these given prerequisites, you can skip the step if you have already completed.

  1. Sign up for a Mailazy account.

  2. Complete Domain Authentication.

  3. Generate the Mailazy Access Key

Integrate Mailazy with NodeJS;

Start Sending mail using the code provided below:

const nodemailer = require("nodemailer");

let transport = nodemailer.createTransport({
  host: "smtp.mailazy.com",
  port: 587,
  auth: {
    user: "access_key",
    pass: "access_secret",
  },
  authMethod: "LOGIN",
  secureConnection: true,
  requiresAuth: true,
  requireTLS: true
});

const message = {
  from: "sender@example.com", // Sender address
  to: "recipient@example.com", // recipient address
  subject: "Hello!", // Subject line
  text: "Hello world!", // Plain text body
  html: "Hello world!" // HTML body
};
transport.sendMail(message, function (err, info) {
  console.log("here");
  if (err) {
    console.log(err);
  } else {
    console.log(info);
  }
});

Send transactional emails with Mailazy

Mailazy email delivery platform is powered by AI and uses the global infrastructure so that you can scale effortlessly. Mailazy is the trusted transactional email provider for hundreds of businesses and we are growing every day. We are known for being the most reliable and trusted senders on the internet.

Ready to get started?

Get started — it's free