Skip to content
A Node.js email verification library. Uses https://trumail.io free tool.
JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead of rahuI:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

trumail

A Node.js email verification library. Uses https://trumail.io free tool.

Installing

npm install trumail

Uses

You can use the method as described below:

// import module
var truMail = require('trumail');

// Check if a email address exist or not
truMail.isValidEmail('abcd@gmail.com')
	.then(isValid => {
		// true if Valid
		// false if not
	});

// Check if a email address exist or not
truMail.getEmailInfo('abcd@gmail.com')
	.then(emailInfo => {
		console.log(emailInfo); //	EMail details like username, host, deliverable etc.
	});
You can’t perform that action at this time.