smtp2http/README.md
2015-09-15 23:08:28 -07:00

20 lines
466 B
Markdown

# smtp2http
SMTP to HTTP gateway
Usage
-----
Begin listening for incoming messages over SMTP and post them to the sepcified
HTTP endpoint.
```sh
smtp2http https://dev-services.zingle.me/inbound-communication/email
```
Enable TLS using separate certificate and key files with signing CA cert.
```sh
CERT=/etc/private/ssl/zingle.crt
KEY=/etc/private/ssl/zingle.key
CA=/etc/private/ssl/zingle-ca.crt
smtp2http -T$CERT:$KEY:$CA https://dev-services.zingle.me/foo
```