cli-mailer
v1.0.1
Published
CLI tool for sending an email message in HTML format for an array of recipients.
Downloads
1
Maintainers
Readme
cli-mailer
CLI tool for sending an email message in HTML format for an array of recipients.
Usage
cli-mailer <smtps://username:[email protected]/?pool=true> <[email protected]> <subject> <recipients-path.json> <message-path>
Example
cli-mailer smtps://thomas47:[email protected]/?pool=true [email protected] "Email subject" ./recipients.json ./message.txt
Content of "recipients.json":
["[email protected]", "[email protected]", "[email protected]"]
Content of "message.txt":
<strong>Hello!</strong></br>
How are u today?
First argument (SMTP config pool) is smtp pool config from node mailer.
Installation
npm install -g cli-mailer