Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/josiahwhite/smtp_to_http

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/josiahwhite/smtp_to_http

  • v1.0.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

SMTP to HTTP

Docker Hub Go Report Card License

smtp_to_http is an application that listens for SMTP and stores all email for a configurable period.

This can be used as an API for providing temporary email addresses similar to guerrillamail or temp-mail but powered by your own domain and giving easy API access.

Getting started

docker run --name smtp_to_http -e SMTP_PRIMARY_HOST=example.com -e MAIL_EXPIRE_DURATION=10m josiahwhite/smtp_to_http

By default the container listens on port 2525 for SMTP and 8334 for HTTP access.

API Access

The HTTP API provides access through the following requests:

To clear messages for an inbox:

curl 'http://127.0.0.1:8334/clearMessages?email=cool%40example.com'

To read messages for an inbox:

curl 'http://127.0.0.1:8334/fetchMessages?email=cool%40example.com'

FAQs

Package last updated on 04 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc