New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mailatt-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailatt-cli

Send email attachment

  • 0.0.0-beta.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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'

Keywords

FAQs

Package last updated on 07 Feb 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc