Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
github.com/JosiahWhite/smtp_to_http
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.
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.
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
Unknown package
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.