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-domain-verifier
Advanced tools
Readme
A npm package that verifies email domains via dns mx records and attempting smtp connection
npm install email-domain-verifier --save
import { verifyEmailDomain } from 'email-domain-verifier'
await verifyEmailDomain('mailbox@gmail.com', { requireSmtpOrMx: true })
// {
// verified: true,
// mxVerificationSucceed: true,
// smtpVerificationSucceed: undefined
// }
await verifyEmailDomain('mailbox@garbage.domain', { requireSmtpOrMx: true })
// {
// verified: false,
// mxVerificationSucceed: false,
// smtpVerificationSucceed: false
// }
{
mxNotRequired?: boolean, // Verify via smtp connection check only
// Mx records would still be resolved for smtp check
// default: false
smtpNotRequired?: boolean, // Verify via dns mx records check only
// default: false
requireSmtpOrMx?: boolean, // Require at least one check to succeed
// default: false
smtpConnectionTimeout?: number, // Timeout for smtp connection in milliseconds
// default: 1000
useCache?: boolean // Use in-memory lru cache
// default: true
}
{ useCache: false }
doesn't fetch cache, but still updates it[ 25, 456, 587, 2525 ]
`${domain}` and `smtp.${domain}`
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Verifies email domains
The npm package email-domain-verifier receives a total of 3,008 weekly downloads. As such, email-domain-verifier popularity was classified as popular.
We found that email-domain-verifier 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.