mailed
v1.1.3
Published
A stand-alone command-line SMTP mailer
Readme
You MaileD It!
Standalane one-liner SMTP mailer for NodeJS
Installation
npm install -g mailedEdit ${HOME}/.mailed.conf and season to taste (in the style of nodemailer).
{
"host": "smtp.gmail.com"
, "ssl": true
, "port": 465
, "use_authentication": true
, "user": "[email protected]"
, "pass": "xxxx yyyy zzzz qqqq"
, "sender": "Jane Doe <[email protected]>"
, "reply_to": "Jane's Autobot <[email protected]>"
}Usage
mailed "<email [, email]>" "<subject>" "<body>" [<path-to-attachment>]Example:
mailed \
'John Doe <[email protected]>, Adam Smith <[email protected]>' \
'Craptacula Discovered in Drain Pipes' \
'Something Bod Happened. See Attached Log.' \
/path/to/attachment.logLicense
Copyright (c) 2011 AJ ONeal under the MIT and Apache v2 licenses.
- http://www.opensource.org/licenses/mit-license.php
- http://www.apache.org/licenses/LICENSE-2.0
