https://github.com/mungell/smtp-to-api
An adaptor between SMTP and API interfaces
https://github.com/mungell/smtp-to-api
mailgun mailgun-api smtp smtp-server
Last synced: about 2 months ago
JSON representation
An adaptor between SMTP and API interfaces
- Host: GitHub
- URL: https://github.com/mungell/smtp-to-api
- Owner: MunGell
- Created: 2017-03-05T22:59:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-15T19:12:31.000Z (about 8 years ago)
- Last Synced: 2025-03-28T12:38:55.079Z (2 months ago)
- Topics: mailgun, mailgun-api, smtp, smtp-server
- Language: Python
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SMTP to API
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.
## Getting Started
1. Clone this repository to a location where you want to install the application
2. Follow commands in `Makefile` or just run `make install` to create a virtual environment and install dependencies
3. Copy `smtp2api.example` to `/etc/init.d/smtp2api` with this command: `sudo cp smtp2api.example /etc/init.d/smtp2api`
4. Update `/etc/init.d/smtp2api` with your desirable configuration
5. Copy `config.ini.example` to `config.ini`
6. Update `config.ini` with your vendor, domain/login and api key
7. Run service with `sudo service smtp2api start` or run it from the directory with `make run` for debugging purposeThis project is in WIP status. Pull requests are welcome.