All Projects → LinusU → Server Accepts Email

LinusU / Server Accepts Email

Check if an SMTP server accepts emails to a given address

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Server Accepts Email

Smtp Validate Email
A PHP library for performing email addresses validation via SMTP
Stars: ✭ 353 (+1370.83%)
Mutual labels:  smtp, email-validation
mailcat
Find existing email addresses by nickname using API/SMTP checking methods without user notification. Please, don't hesitate to improve cat's job! 🐱🔎 📬
Stars: ✭ 219 (+812.5%)
Mutual labels:  email-validation, smtp
Check If Email Exists
Check if an email address exists without sending any email, written in Rust.
Stars: ✭ 497 (+1970.83%)
Mutual labels:  smtp, email-validation
Deep Email Validator
Validates regex, typos, disposable, dns and smtp
Stars: ✭ 436 (+1716.67%)
Mutual labels:  smtp, email-validation
Go Smtp
📤 An SMTP client & server library written in Go
Stars: ✭ 655 (+2629.17%)
Mutual labels:  smtp
Deltachat Desktop
Email-based instant messaging for Desktop.
Stars: ✭ 526 (+2091.67%)
Mutual labels:  smtp
Listmonk
High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
Stars: ✭ 7,294 (+30291.67%)
Mutual labels:  smtp
Anchorme.js
Tiny, fast, efficient, feature rich Javascript library to detect links / URLs / Emails in text and convert them to clickable HTML anchor links
Stars: ✭ 479 (+1895.83%)
Mutual labels:  email-validation
Mailslurper
Local, web-based mail server application. Slurp mails into oblivion!
Stars: ✭ 920 (+3733.33%)
Mutual labels:  smtp
Lettre
a mailer library for Rust
Stars: ✭ 713 (+2870.83%)
Mutual labels:  smtp
Mailcatcher
Catches mail and serves it through a dream.
Stars: ✭ 5,512 (+22866.67%)
Mutual labels:  smtp
Smtp Server
Create custom SMTP servers on the fly
Stars: ✭ 655 (+2629.17%)
Mutual labels:  smtp
Hydroxide
A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge
Stars: ✭ 578 (+2308.33%)
Mutual labels:  smtp
James Project
Emails at the heart of your business logic!
Stars: ✭ 485 (+1920.83%)
Mutual labels:  smtp
Laravel User Verification
PHP package built for Laravel 5.* to easily handle a user email verification and validate the email
Stars: ✭ 755 (+3045.83%)
Mutual labels:  email-validation
Salmon
A Python Mail Server
Stars: ✭ 482 (+1908.33%)
Mutual labels:  smtp
Truemail
🚀 Configurable framework agnostic plain Ruby 📨 email validator/verifier. Verify email via Regex, DNS and SMTP. Be sure that email address valid and exists.
Stars: ✭ 717 (+2887.5%)
Mutual labels:  email-validation
Exim
Exim Mail Transport Agent - source, testsuite and documentation
Stars: ✭ 545 (+2170.83%)
Mutual labels:  smtp
Swiftcop
SwiftCop is a validation library fully written in Swift and inspired by the clarity of Ruby On Rails Active Record validations.
Stars: ✭ 544 (+2166.67%)
Mutual labels:  email-validation
Cypht
Cypht: Lightweight Open Source webmail written in PHP and JavaScript
Stars: ✭ 628 (+2516.67%)
Mutual labels:  smtp

Server Accepts Email

Check if an SMTP server accepts emails to a given address.

Installation

npm install --save server-accepts-email

Usage

const serverAcceptsEmail = require('server-accepts-email')

console.log(await serverAcceptsEmail('[email protected]'))
//=> true

console.log(await serverAcceptsEmail('[email protected]'))
//=> false

console.log(await serverAcceptsEmail('[email protected]'))
//=> false

API

serverAcceptsEmail(email[, options])

  • email (string, required) - Email address to test
  • options (object, optional)
    • senderDomain (string, optional) - Domain to identify as (in HELO smtp command)
    • senderAddress (string, optional) - Email address to identify as (in MAIL FROM command)
  • returns Promise<boolean> - Wether or not email is accepted for the given address

Other libraries

There are some other libraries that do the same thing, but I found them to have some flaws which made me write this one.

  Promise API Follows RFC5321 1 Proper Errors 2 Handles Greylisting 3 Connection Pooling 4
server-accepts-email
email-exists
email-existence
email-verify

1 None of the other libraries parsed the replies to support multiline replies but instead relied on every reply coming in a chunk, accepting all data and searching for substrings, or something similar.

2 Some of the other libraries rejects, or calls the callback, with something other than an Error instance.

3 This library detects Greylisting and sends another request after the timeout has passed.

4 This library reuses connections, and limits the number of simultaneous connections to any given host. This is more effecient, and the behaviour more closely matches that of proper SMTP clients, decreasing the chance of being blacklisted.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].