Bridge SMTP only software to use API-based email sending.
As the title says, run this command to host a simple SMTP server locally. point any software that only supports SMTP to it,
any email sent to this server will be sent with the configured email api provider by the bridge.
TODOs
- Implement providers other than SES;
- Improve the code organization and testability;
Why?
Some providers block smtp ports on server and require you to provide endless justifications for why you need to send emails, and if you don't have access to the hosted software source code or can't modify it for some reason,
this bridge aims to alleviate that.
Quick manual
Build with make
then run as follows:
bin/smtpbridge -c example.toml
, with this config it will be listening on port 1025.