Skip to content

linuxhelf/greenmail-http

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GreenMail HTTP

Encapsulates GreenMail Standalone 1.6.x, adds a web server to deliver JSON and web pages showing the internals of GreenMail.

Frontend

More screenshots and instructions in the frontend section. Project home

Browser access

http://localhost:7000/

Build

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.

Run

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.

Run with test data

Creates a couple of users with a couple of mail folders containing varying numbers of emails.

-Duk.co.bigsoft.greenmail.add_test_data

Run with Access-Control-Allow-Origin

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

Developers

I'm always happy to receive push requests. Just a couple of guidelines for a speedy merge.

  1. Take your branch from master.
  2. Follow the format and style in other files.
  3. Rebase before pushing.
  4. I like lots of smaller self-contained classes rather than huge source files containing everything.
  5. If possible, try to get the frontend working when running yarn separately.

Versions

1.0.0

Initial release - Prototype

2.0.0

Pretty frontend

About

Web interface to GreenMail

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.6%
  • Java 42.1%
  • Shell 1.8%
  • HTML 1.6%
  • CSS 0.9%