
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mail-function
Advanced tools
A mail-function is a mail function that works almost like php function mail. You have to call only one function for sending emails and nothing else :).
Worning: for the emails have been sent successfully you have to install and customize on your server MTA (mail transfer agent)
The authors is Neo that is very well known in runet as Hacker Kselax Here is his home-page to visit
The mail function accept such options in such order like in below
from - the sender address it could be american-chat.ru american-chat.ru@kselax.ru or whatever...
to - the email address where you send
subject - is an email subject
html - html text the body of email
fn - a callback function where you can check check error (optional)
The mail function is an async function, be careful, you can get results only pass the callback
$ npm install mail-function --save
var mail = require('./index.js');
mail(
'american-chat.ru <american-chat.ru@kselax.ru>',
'neo@neo.ru',
'your_subject',
'<h1>This is body</h1>',
function(error, info){
if(error){
console.log(error);
}else{
console.log('The email has been sent successfully');
}
}
);
This software is free to use under GNU General Public License GPL. See the license description for license text and copyright information.
FAQs
a mail function for sending emails like in php
The npm package mail-function receives a total of 2 weekly downloads. As such, mail-function popularity was classified as not popular.
We found that mail-function 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.