An adaptor for legacy applications to work with email API vendors. Particularly useful in cases when SMTP ports are blocked on the server or network.
At the moment in works with Mailgun API and with limited features.
- Clone this repository to a location where you want to install the application
- Follow commands in
Makefile
or just runmake install
to create a virtual environment and install dependencies - Copy
smtp2api.example
to/etc/init.d/smtp2api
with this command:sudo cp smtp2api.example /etc/init.d/smtp2api
- Update
/etc/init.d/smtp2api
with your desirable configuration - Copy
config.ini.example
toconfig.ini
- Update
config.ini
with your vendor, domain/login and api key - Run service with
sudo service smtp2api start
or run it from the directory withmake run
for debugging purpose
This project is in WIP status. Pull requests are welcome.