mailatt-cli

0.0.0-beta.0 • Public • Published

mailatt-cli

The first purpose of this package come from the need to get daly backup to my email with attachments. Let say you need to backup a database daly and send it to the same email.

  1. To use that command, you need a transport SMTP url with the username and password.
  2. 'npm install mailatt-cli'
  3. Set the right configuration into node_modules/mailatt/dist/config/transport.js
  4. Set your email field to node_modules/mailatt/dist/config/emailFields.js

This package use nodemailer to send a template email with attachments specified with the argument --att. You can send multiple attachments by adding multiple --att

example :

$ node ./node_modules/mailatt/dist/index.js --att='node_modules/mailatt/dist/index.js'

Readme

Keywords

Package Sidebar

Install

npm i mailatt-cli

Weekly Downloads

0

Version

0.0.0-beta.0

License

MIT

Last publish

Collaborators

  • mabelanger