eldoy / mailutil

NodeJS mail utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mail Utilities

NodeJS mail utility functions.

Install

npm i mailutil

Usage

const mailutil = require('mailutil')

// Get domain from email
const domain = mailutil.domain('hello@example.com')
// example.com

// Generate id for a mail message
const id = mailutil.id('hello@example.com')
// <32525ff9-3d55-2781-d001-205fa77d018b@example.com>

MIT Licensed. Enjoy!

About

NodeJS mail utilities

License:MIT License


Languages

Language:JavaScript 100.0%