https://github.com/linux-china/mail-catcher
MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface
https://github.com/linux-china/mail-catcher
Last synced: about 1 year ago
JSON representation
MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface
- Host: GitHub
- URL: https://github.com/linux-china/mail-catcher
- Owner: linux-china
- License: apache-2.0
- Created: 2014-05-14T12:01:33.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T21:37:48.000Z (almost 2 years ago)
- Last Synced: 2025-04-02T02:51:12.277Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 172 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Mail Catcher
============
MailCatcher runs a super simple SMTP server and REST API which catch all outbound emails for unit test.
# Features
* SMTP Server: SMTP port 1025
* SendGrid API V2 & V3
* SendCloud V2
* Docker image
* Web UI to check emails sent or not: http://localhost:1080

# Tech stack
* Spring Boot 2
* Thymeleaf 3
* Bootstrap 3
* SubEtha SMTP https://github.com/voodoodyne/subethasmtp
* Commons email & Javamail
# Docker support
* docker build
```
$ docker build -t linuxchina/mail-catcher .
```
* docker run
```
$ docker run -d -p 1080:1080 -p 1025:1025 linuxchina/mail-catcher
```
* docker compose
```yaml
version: "3"
services:
mailcatcher:
image: linuxchina/mail-catcher
ports:
- "1080:1080"
- "1025:1025"
```
# Assembly to distribution
* mvn -DskipTests clean package assembly:assembly
### todo
* Email quality check: SPF, DKIM
# References
* GreenMail: https://github.com/greenmail-mail-test/greenmail
* Jib: https://github.com/GoogleContainerTools/jib
* maildev: SMTP Server + Web Interface for viewing and testing emails during development. https://github.com/maildev/maildev
* Mailpit: email testing for developers: https://github.com/axllent/mailpit
* MailHog: https://github.com/mailhog/MailHog
* Mailtutan: https://github.com/mailtutan/mailtutan
* JMail: A modern, fast, zero-dependency library for email address validation https://www.rohannagar.com/jmail/
* Ethereal Email: Ethereal is a fake SMTP service for email sending test https://ethereal.email/
* 10 Minutes email: https://temp-mail.org/en/10minutemail
* Securing SubEtha SMTP connections with TLS: https://blog.trifork.com/2009/11/10/securing-connections-with-tls/
* Stalwart Mail Server: Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP) https://github.com/stalwartlabs/mail-server