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.
directmail
Advanced tools
Readme
Sendmail alternative to send e-mails directly to recipients without a relaying service.
If you want to support with Bitcoins then my wallet address is 15Z8ADxhssKUiwP3jbbqJwA21744KMCfTM
Require directmail object
var createDirectmail = require("directmail"),
directmail = createDirectmail(options);
Where
Push a message to the outgoing queue
directmail.send({
from: "sender@example.com",
recipients: ["receiver1@example.com", "receiver2@example.com"],
message: "Subject: test\r\n\r\nHello world!"
});
Where
to
, cc
and bcc
addresses here.You can check the count of unsent messages from the .length
property of the directmail object
console.log(directmail.length); // nr of messages to be sent
If you try to send a message with multiple recipients then every unique recipient domain counts as a different message.
Directmail is very inefficient as it queues all e-mails to be sent into memory. Additionally, if a message is not yet sent and the process is closed, all data about queued messages are lost. Thus directmail is only suitable for low throughput systems, like password remainders and such, where the message can be processed immediatelly. Directmail is not suitable for spamming.
While not being 100% reliable (remember - if process exits, entire queue is lost), directmail can still handle sending errors, graylisting and such. If a message can not be sent, it is requeued and retried later.
MIT
FAQs
Sendmail replacement, sends mail directly to recipients SMTP server
The npm package directmail receives a total of 4,172 weekly downloads. As such, directmail popularity was classified as popular.
We found that directmail 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.