A proxy takes http request and send to smtp server
288
http2smtp is a proxy that takes http request and send to smtp server, the code is https://github.com/jindongh/http2smtp
PORT=8888
SMTP_HOST=smtp.mail.yahoo.com
SMTP_PORT=465
SMTP_USER=<username>@yahoo.com
SMTP_PASSWORD=<password-from-step-1>
services:
http2smtp:
image: jindongh/http2smtp:latest
restart: unless-stopped
env_file:
.env
ports:
- "8888:8888"
docker compose up -d
YAHOO_EMAIL=<user>@yahoo.com
curl "localhost:8888?to=${YAHOO_EMAIL}&subject=test%20http2smtp&content=hello%20from%20http2smtp"
Content type
Image
Digest
sha256:b544d238b…
Size
12.4 MB
Last updated
about 2 years ago
docker pull jindongh/http2smtp