Skip to content
This repository has been archived by the owner on Mar 1, 2020. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 321 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 321 Bytes

README

This tool serves a RestAPI endpoint to send emails. Yes s simple as that.

Config

Please edit and change config-apisendemail.tomto match your email settings.

Run

go run apisendemail.go

Test

curl -X POST -d "{\"body\": \"that\", \"from\": \"foo\"}" http://127.0.0.1:8080/sendemail