Skip to content

A tiny software that receive a smtp request (email) and send it to the specified webhook as a http post request

License

Notifications You must be signed in to change notification settings

Itach1Uchixa/smtp2http

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMTP2HTTP (email-to-web)

smtp2http is a simple smtp server that resends the incoming email to the configured web endpoint (webhook) as a basic http post request.

Installation

  • 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

Usage

smtp2http --listen=:25 --webhook=http://localhost:8080/api/smtp-hook

Help

smtp2http --help

Contribution

Fork > Patch > Create Pull Request

About

A tiny software that receive a smtp request (email) and send it to the specified webhook as a http post request

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.8%
  • Dockerfile 2.2%