Skip to content
/ smsr Public

Straitforward and easy to configure program to send emails from the commandline

Notifications You must be signed in to change notification settings

biberino/smsr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Mail Sender Rust (smsr)

Project Desciption

This is a straitforward and easy to configure program to send emails from the commandline, shellscripts, etc ...

Installation

Grab the latest binary from the release page and make it executable.

Configuration

Create a config file named /etc/smsr.conf with the following structure

{
   "from": "[email protected]", //email address from which the email will be send
   "smtp_server": "mail.abc.org", // SMTP server address of your email provider
   "port": 587, // SMTP port of your email provider
   "user": "[email protected]", //username to login into your email provider
   "passwd": "superstrongpasswd", //password to login into your email provider
   "starttls": true // true will use STARTTLS, false will use classic TLS
}

Usage

To send an email from the commandline use:

$ ./smsr --subject "Email from SMSR" --body "Your backups are up to date :)" --to "[email protected]"

About

Straitforward and easy to configure program to send emails from the commandline

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages