github.com/tijn/devmail
main / published Sep 18, 2024 / repository
An SMTP/POP3-server that keeps every email you send it until you fetch it
devmail
SMTP POP3
Your app(s) ----------> devmail ----------> Thunderbird/Mail.app/Outlook/...
SMTP and POP3 server with no storage. It keeps all the mails in memory until they are fetched or until you shut down the program. It is meant for developers who need to inspect the mail that their app sends. You can send emails to it via SMTP and "pop" them with an e-mail client like Thunderbird or Mail.app on macOS. It is comparable to Letter Opener.
This is a port of Blue Rail's Post Office to Crystal-lang.
MacOs
Please read startup/launchd/README.md
Linux (SystemD)
Please read startup/systemd/README.md
API
- Config
- Devmail
- ExtraShort
- GenericServer
This class starts a generic server, accepting multiple connections on the given port.
- POPServer
- POPSession
- SMTPServer
- SMTPSession
- Session
- Store
Message storage This is basically a wrapper around Array to support the API used by POP and SMTP.