Skip to content

grabbou/emailjs-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emailjs-cli

send emails, html and attachments (files, streams and strings) from your cli to any smtp server

INSTALLING

npm install emailjs-cli -g

FEATURES

Based on emailjs it provides following features:

  • works with SSL and TLS smtp servers
  • supports smtp authentication (PLAIN, LOGIN, CRAMMD5)
  • emails are queued and the queue is sent asynchronously
  • supports sending html emails and emails with multiple attachments (MIME)
  • attachments can be added as strings, streams or file paths
  • supports utf-8 headers and body

REQUIRES

  • auth access to an SMTP Server
  • if your service (ex: gmail) uses two-step authentication, use an application specific password

EXAMPLE USAGE

$ emailjs -s "Subject" -t "Full text" -to "A Person <sender@superrito.com>" -from "A Person <recipient@superrito.com>; Another Person <recipient2@superrito.com>" --host "smtp.gmail.com" --ssl

Authors

martinheidegger

Testing

npm install -d
npm test

Contributions

issues and pull requests are welcome

About

send text/html emails and attachments (files, streams and strings) using the cli to any smtp server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%