Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
email-exists
Advanced tools
Readme
Check whether an email address exists.
This module checks whether an email address exists by connecting to the mail server and pretending to send an email (but not actually sending it, of course).
For checking whether an email is syntactically valid, please use hapijs/isemail
.
npm install email-exists
const emailExists = require('email-exists')
emailExists({ sender: 'darthvader@gmail.com',
recipient: 'lukeskywalker@gmail.com' })
.then(console.log)
// --> MAY_EXIST
emailExists(options)
<Object>
with the following properties:
<String>
: required; the sender's email address for the MAIL FROM
command<String>
: required; the recipient's email address for the RCPT TO
command<Number>
: default = 3000
; the timeout in milliseconds for the Telnet connection<Boolean>
: default = false
; whether to print debug messages to the console<Promise>
which:
<String>
objects:
INVALID_SYNTAX
: Represents a 553
indicating that the mailbox name is not allowed due to invalid syntaxNOT_FOUND
: Represents a 550
indicating that the mailbox is unavailable,
cannot be found, or may not be accessedMAY_EXIST
: To prevent clients from discovering all available addresses, servers may respond with false positives; therefore, this result is deliberately named "may exist", indicating that it is highly likely that the address actually exists, but that it cannot be confirmed (without actually sending a confirmation mail)<Error>
object if either the DNS lookup or the Telnet connection failsMIT
FAQs
Check whether an email address exists.
The npm package email-exists receives a total of 222 weekly downloads. As such, email-exists popularity was classified as not popular.
We found that email-exists demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.