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 Email API with NodeJS

Prerequisites

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

  1. Sign up for a Mailazy account.

  2. Complete Domain Authentication.

  3. Generate the Mailazy Access Key

  4. Integrate API in your language.

Integration with Node.JS

  • Confirm that you are using supported node.js version (10 or higher)

  • Install the package via npm or yarn

  • To install the package to your current project , simple type the following in your terminal:

npm i --save mailazy-node
  • Start Sending mail using the code provided below:

const MailazyClient = require('mailazy-node');
const client = new MailazyClient({ accessKey: '', accessSecret: '' });
const fn = async () => {
    try {
        const resp = await client.send({
            to: 'test@example.com', // required
            from: 'no-reply@example.com', // Use domain you verified, required
            subject: '', // required
            text: '',
            html: '',
        });
        console.log("resp: " + resp);
      } catch (e) {
        console.log("errror: " + e);
    }
}
fn();

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