smtp4dev
GreenMail
Our great sponsors
smtp4dev | GreenMail | |
---|---|---|
5 | 2 | |
2,792 | 600 | |
- | 0.5% | |
8.8 | 9.1 | |
5 days ago | 4 days ago | |
C# | Java | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
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.
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.
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
What are some alternatives?
Mailpit - An email and SMTP testing tool with API for developers
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.
docker-mailserver-helm - Kubernetes Helm chart for docker-mailserver
WireMock - A tool for mocking HTTP services
email2matrix - An SMTP server which receives messages to predefined mailboxes and relays them over the [Matrix](https://matrix.org) protocol
Spock - The Enterprise-ready testing and specification framework.
MailCatcher - Catches mail and serves it through a dream.
Cucumber - Cucumber for the JVM
lunaticsmtp - Dummy SMTP server with JavaFX UI for testing email sending applications
Mockito - Most popular Mocking framework for unit tests written in Java
Roundcube - The Roundcube Webmail suite
TestNG - TestNG testing framework