Encapsulates GreenMail Standalone 1.6.x, adds a web server to deliver JSON and web pages showing the internals of GreenMail.
More screenshots and instructions in the frontend section.
While the project is in flux, it's not in the Maven repos, but it is now a one step build.
git clone https://github.com/davidnewcomb/greenmail-http.git
cd greenmail-http
mvn clean install
Downloads node
and yarn
(to the exe
folder) and uses them to build the React frontend.
If you just want to see GreenMail HTTP in action, with a few pre-loaded test emails, without a lot of faffing, then run:
support/start-open.sh
You can run GreenMail HTTP using the same options as GreenMail Standalone.
There are a few options specific to GreenMail HTTP. Inline with GreenMail these are -D
options too.
Creates a couple of users with a couple of mail folders containing varying numbers of emails.
-Duk.co.bigsoft.greenmail.add_test_data
When developing the frontend you can run into CORS issues. Using this flag will tell GreenMail HTTP to add Access-Control-Allow-Origin to the response headers.
-Duk.co.bigsoft.greenmail.ac_anywhere
I'm always happy to receive push requests. Just a couple of guidelines for a speedy merge.
- Take your branch from
master
. - Follow the format and style in other files.
- Rebase before pushing.
- I like lots of smaller self-contained classes rather than huge source files containing everything.
- If possible, try to get the frontend working when running
yarn
separately.
Initial release - Prototype
Pretty frontend