smtp2http is a simple smtp server that resends the incoming email to the configured web endpoint (webhook) as a basic http post request.
- docker:
docker run -p 25:25 smtp2http --webhook=http://some.hook/api
- binaries: go to releases page and choose your distribution.
- go:
go get github.com/alash3al/smtp2http
smtp2http --listen=:25 --webhook=http://localhost:8080/api/smtp-hook
smtp2http --help
Fork > Patch > Create Pull Request