GreenMail
smtp4dev
Our great sponsors
GreenMail | smtp4dev | |
---|---|---|
2 | 5 | |
600 | 2,792 | |
0.5% | - | |
9.1 | 8.8 | |
4 days ago | 5 days ago | |
Java | C# | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GreenMail
- Mailpit – a better way for email testing
-
7 Awesome Libraries for Java Unit & Integration Testing
i found https://greenmail-mail-test.github.io/greenmail/ for testing mail very usefull
smtp4dev
- Solutions for selfhosted internal-only email?
-
Mailpit – a better way for email testing
smtp4dev https://github.com/rnwood/smtp4dev - works well in docker, has api, can selectively forward to a real smtp
- SMTP server
-
How do you guys write end to end test which will trigger a mailer endpoint?
depends on the infrastructre setup, but if you're able to specify smtp server the backend will use you can you something like https://github.com/mailhog/MailHog or https://github.com/rnwood/smtp4dev to catch any sent email, regardless of email address and read it via the respective api. Both mailhog and smtp4dev have decent api documentation.
-
Make smtp server
If so you could check out smtp4dev, it gives you a locally hosted client that you can use to intercept any mail send out by your app and displays them in a nice web based gui interface so can see what they look like.
What are some alternatives?
Testcontainers - Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Mailpit - An email and SMTP testing tool with API for developers
WireMock - A tool for mocking HTTP services
docker-mailserver-helm - Kubernetes Helm chart for docker-mailserver
Spock - The Enterprise-ready testing and specification framework.
email2matrix - An SMTP server which receives messages to predefined mailboxes and relays them over the [Matrix](https://matrix.org) protocol
Cucumber - Cucumber for the JVM
MailCatcher - Catches mail and serves it through a dream.
Mockito - Most popular Mocking framework for unit tests written in Java
lunaticsmtp - Dummy SMTP server with JavaFX UI for testing email sending applications
TestNG - TestNG testing framework
Roundcube - The Roundcube Webmail suite