Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 383 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 383 Bytes

nms

Node Mail Sender

Agnostic transactional email sending in Node.js environment

Implementation

import { NMS } from 'nms'
  
NMS.emit('user.confirm', payload)
  .then(res => {
    console.log('Email has been delivered: ', res);
  })
  .catch(err => {
    console.log('Error while mail sending: ', err)
  })