Skip to content

Bash script to send emails using SMTP with minimal dependencies.

License

Notifications You must be signed in to change notification settings

ediazcomellas/bashmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bashmail

Bash script to send emails using SMTP with minimal dependencies.

This script can be used to send emails through an STMP server from simple UNIX servers. It supports authentication (LOGIN and PLAIN), and encryption SSL and STARTTLS.

I've tried to make it as portable as possible, with minimal requirements. For simplest use cases (only sending email, with no SSL nor AUTH), only bash, grep and cut are needed.

Customization

Edit variables at the top of the script or in the sepparated .conf file, and change the email at the bottom. All variables are explained inline.

I hope you find it useful.

About

Bash script to send emails using SMTP with minimal dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages