smtp2http

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

Github stars Tracking Chart

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.

Why

At our company uFlare we wanted to build a platform for receiving requests via mail clients and posting it to a customized webhook to do its business logic, we wanted also to use Go as the environment so we started to develop that smtp server based on
go-smtpsrv library, and because we believe in the power of the opensource we decided to release this software as an opensource project for the community because it may help anyone else.

Installation

  • binaries: go to releases page and choose your distribution.
  • go: go get github.com/uflare/smtp2http
  • docker: docker run --network=host uflare/smtp2http --listen=:25 --webhook=http://localhost:8080/api/smtp-hook --strict=true

Usage

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

Help

smtp2http --help

Contribution

Fork > Patch > Create Pull Request

Author

uFlare Company.

Main metrics

Overview
Name With Owneralash3al/smtp2http
Primary LanguageGo
Program languageGo (Language Count: 2)
Platform
License:Apache License 2.0
所有者活动
Created At2018-11-12 17:38:51
Pushed At2023-11-16 07:14:12
Last Commit At2023-06-10 12:59:15
Release Count4
Last Release Namev3.1.0 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count528
Watchers Count14
Fork Count85
Commits Count51
Has Issues Enabled
Issues Count14
Issue Open Count2
Pull Requests Count4
Pull Requests Open Count1
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private