Sign inSign up

knrdl/rest2smtp

By knrdl

•Updated 5 days ago

Image
0

9.4K

knrdl/rest2smtp repository overview

⁠rest2smtp

Send mails via REST API

API Documentation is served by the program under the root path (/).

⁠Config

Env VarDescription
SMTP_HOST(required)
SMTP_PORT(default depends on encryption method)
SMTP_ENCRYPTIONTLS (default), STARTTLS, UNENCRYPTED (insecure)
SMTP_USERNAME(optional)
SMTP_PASSWORD(optional)
API_DOC_INFOCustom text (or html) to be displayed in API documentation header. Defaults to "Send mails via REST API"

⁠Deployment

Docker Compose / Swarm

version: '3.9'

services:
  rest2smtp:
    image: ghcr.io/knrdl/rest2smtp
    hostname: rest2smtp
    environment:
      SMTP_HOST: smtp.example.org
    ports:
      - "80:80"

Tag summary

Content type

Image

Digest

sha256:6fa5f3e66…

Size

13.1 MB

Last updated

3 months ago

docker pull knrdl/rest2smtp