Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
nodemailer-cli
Advanced tools
A command line interface for sending email, wrapped around nodemailer.
A command line interface for sending email, wrapped around nodemailer.
Install the module globally to expose the nodemailer
command to your
environment.
npm install -g nodemailer-cli
$ nodemailer --help
Usage: nodemailer <to> <from> [bodyText] [options]
to Email address, or comma separated list of email addresses to send mail to.
from Email address that the message should be from.
bodyText The plaintext message body.
Options:
-t, --service The nodemailer service identifier, if any.
-u, --username The SMTP username to use when authenticating. [local_user_name]
-p, --password The plain-text password to use when authenticating.
-s, --server The SMTP server that mail will be delivered to.
-r, --port The port to use when contacting the SMTP server.
-n, --nossl If set, SSL will not be used when sending mail.
-j, --subject The string to be used as the email's subject.
--cc An email address to Carbon Copy. List multiple recipients by appending multiple --cc parameters.
--bcc An email address to Blind Carbon Copy. List multiple recipients by appending multiple -bcc parameters.
--replyTo An email address that should receive replies if a recipient replies to your message.
--body A file to use as the message body.
--attachment A path to a file that should be attached. List multiple attachments by appending multiple --attachment parameters.
-v, --version Print version and exit.
Some environment variables can be used in place of CLI options. CLI options override these environment variables, if used, so these can be thought of as defaults.
v2.1.0
--attachment
parameters — @mistralolv2.0.1
v2.0.0
v1.0.3
undefined
being passed for auth when no auth is specified. Thanks
to @mistralol.v1.0.2
v1.0.1
v1.0.0
v0.3.0
v0.2.0
v0.1.2
v0.1.1
v0.1.0
v0.0.1
Copyright (c) 2014 Nathan Wittstock
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
A command line interface for sending email, wrapped around nodemailer.
We found that nodemailer-cli 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.