Send Email HTTP API
git clone https://github.com/bomaidea/smapi.git && cd smapi
docker build -t smapi .
docker run -p 3000:3000 \
-e host="smtp.example.com" \
-e provider="example" \
-e user="smtp_user" \
-e pass="smtp_pass" \
-e to="to_email" \
-d smapi
curl --header "Content-Type: application/json" \
--request POST \
--data '{"from":"john@example.com","subject":"Subject Email Test","message":"Message Email Test"}' \
http://localhost:3000/send