telnet-mail-test
v1.1.0
Published
Email verification with telnet
Downloads
1
Readme
telnet-mail-test
Install
$ npm install --save telnet-mail-test
Usage
const telnet = require('telnet-mail-test');
telnet({
domain: 'gmail.com',
from: '[email protected]',
to: '[email protected]',
timeout: 500
}).then(exist => {
console.log(exist);
/* true */
});
API
telnet(options): Object
test mail.
options
Type: object
domain
Type: string
from
Type: string
to
Type: string
timeout
Type: number
Default: 3000 milliseconds