Skip to content

A much simple SMTP email sender written in Go that accepts JSON POST requests.

License

Notifications You must be signed in to change notification settings

dogeorg/much-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Much-Sender

A much simple SMTP email sender written in Go that accepts JSON POST requests.

Such Features

  • Configurable via TOML file
  • Bearer token authentication
  • HTML email support
  • RESTful API endpoint

So Installation

git clone https://github.com/dogeorg/much-sender.git
cd much-sender
go mod init github.com/dogeorg/much-sender
go get

Much Use Example

curl -X POST http://localhost:42001/send-email \
     -H "Authorization: Bearer such-secure-token-here" \
     -H "Content-Type: application/json" \
     -d '{"reply_to_email":"[email protected]","reply_to_name":"From Shibe","to_email":"[email protected]","to_name":"For Shibe","subject":"Such Email Subject","html":"<h1>Hello</h1><p>Shibes</p>"}'

About

A much simple SMTP email sender written in Go that accepts JSON POST requests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages