{"id":25776453,"url":"https://github.com/greenmail-mail-test/greenmail","last_synced_at":"2026-08-13T08:30:16.798Z","repository":{"id":21190767,"uuid":"24499046","full_name":"greenmail-mail-test/greenmail","owner":"greenmail-mail-test","description":"Official master for the Greenmail project","archived":false,"fork":false,"pushed_at":"2026-08-11T12:58:10.000Z","size":8573,"stargazers_count":740,"open_issues_count":67,"forks_count":204,"subscribers_count":14,"default_branch":"master","last_synced_at":"2026-08-12T16:45:53.462Z","etag":null,"topics":["greenmail","imap","integration-testing","mock-server","pop3","smtp"],"latest_commit_sha":null,"homepage":"http://greenmail-mail-test.github.io/greenmail/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greenmail-mail-test.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":".github/copilot-instructions.md","dco":null,"cla":null,"disclosure":null}},"created_at":"2014-09-26T12:43:10.000Z","updated_at":"2026-08-11T12:59:06.000Z","dependencies_parsed_at":"2026-08-05T13:31:46.601Z","dependency_job_id":null,"html_url":"https://github.com/greenmail-mail-test/greenmail","commit_stats":null,"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/greenmail-mail-test/greenmail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenmail-mail-test%2Fgreenmail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenmail-mail-test%2Fgreenmail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenmail-mail-test%2Fgreenmail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenmail-mail-test%2Fgreenmail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greenmail-mail-test","download_url":"https://codeload.github.com/greenmail-mail-test/greenmail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenmail-mail-test%2Fgreenmail/sbom","scorecard":{"id":88239,"data":{"date":"2025-08-11","repo":{"name":"github.com/greenmail-mail-test/greenmail","commit":"f88a26933521652a8b1b66913b7480ce16016dca"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.5,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 3/19 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:3","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: license.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/greenmail-mail-test/greenmail/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/greenmail-mail-test/greenmail/ci.yml/master?enable=pin","Warn: containerImage not pinned by hash: greenmail-docker/standalone/Dockerfile:1: pin your Docker image by updating azul/zulu-openjdk:11.0.28-jre to azul/zulu-openjdk:11.0.28-jre@sha256:3ba8070845096fdb62d07af50b61c091816f0b1e5259b601b6f9b552f9f154d6","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'","Warn: branch protection not enabled for branch 'releases/1.6.x'","Warn: branch protection not enabled for branch 'release_2_0_preview'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":7,"reason":"SAST tool is not run on all commits -- score normalized to 7","details":["Warn: 10 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T07:23:09.016Z","repository_id":21190767,"created_at":"2025-08-15T07:23:09.017Z","updated_at":"2025-08-15T07:23:09.017Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36601168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-13T02:00:06.325Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["greenmail","imap","integration-testing","mock-server","pop3","smtp"],"created_at":"2025-02-27T06:01:24.394Z","updated_at":"2026-08-13T08:30:16.785Z","avatar_url":"https://github.com/greenmail-mail-test.png","language":"Java","funding_links":[],"categories":["测试","others","Email","Projects"],"sub_categories":["Javascript \u0026 Typescript"],"readme":"# GreenMail\n[![Build status](https://github.com/greenmail-mail-test/greenmail/actions/workflows/ci.yml/badge.svg)](https://github.com/greenmail-mail-test/greenmail/actions/workflows/ci.yml) [![Maven Central](https://img.shields.io/maven-central/v/com.icegreen/greenmail.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.icegreen%22%20AND%20a%3A%22greenmail%22) [![StackOverflow](http://img.shields.io/badge/stackoverflow-greenmail-green.svg)](http://stackoverflow.com/questions/tagged/greenmail) [![Docker Pulls](https://img.shields.io/docker/pulls/greenmail/standalone.svg?maxAge=604800)][docker-hub] [![javadoc](https://javadoc.io/badge2/com.icegreen/greenmail/javadoc.svg)](https://javadoc.io/doc/com.icegreen/greenmail)\n\n[GreenMail][greenmail_project_site] allows developers to test email-based applications, services or systems without access to a live mail server.\nDevelopers can send, receive, and verify emails by embedding GreenMail in a unit test or running it as a standalone container.\nGreenMail acts as a virtual (mocking/sandbox) mail server and supports common mail protocols SMTP, IMAP and POP3.\n\n* [Examples][greenmail_examples]\n* [Javadoc][greenmail_javadoc]\n* [FAQ][greenmail_faq]\n* [Download][greenmail_download]\n* [Maven coordinates][maven_repository_com]: com.icegreen:greenmail:\\\u003c[VERSION](https://github.com/greenmail-mail-test/greenmail/releases/)\\\u003e\n\nThe separate [GreenMail Client Integrations project](https://github.com/greenmail-mail-test/greenmail-client-integrations) provides\na containerized example integration of GreenMail with various web mail clients. \n\nThe GreenMail project welcomes any contribution, so go ahead and fork/open a pull request! See the guidelines below.\n\n## Version compatibility\n\n| GreenMail | Mail API                   | Example frameworks                                                            |\n|-----------|----------------------------|-------------------------------------------------------------------------------|\n| 2.1.x     | [JakartaMail 2.1.x][jm_21] | [Jakarta EE 10][jakarta_ee_10]                                                |\n| 2.0.x     | [JakartaMail 2.0.x][jm_20] | [Jakarta EE 9][jakarta_ee_9], Spring 6,                                       |\n| 1.6.x     | [JakartaMail 1.6.x][jm_16] | [Jakarta EE 8][jakarta_ee_8], Spring 5, [Apache commons-mail 1.6][a_c_m], ... |\n\n## Development\n\n* Build GreenMail from source \n\n  `mvn clean install -Pdocker`\n\n  This project uses [Maven Wrapper][maven_wrapper] for consistent build using [Maven 3.9.x][maven_download] or higher, and requires JDK 11 or newer for building.\n\n  * Skip building the docker image by leaving out the `-Pdocker` profile option\n  * Skip long-running integration tests using the Maven option `-DskipITs`\n\n* Build the Maven site (and the optional example report)\n\n  `mvn site -Psite`\n\n* Build and deploy a release\n\n  For rolling a release including version increment and release upload, do\n\n  `mvn clean release:prepare -Prelease,docker,docker-tag-latest`\n  `mvn release:perform -Prelease,docker,docker-tag-latest`\n\n  For a tagged release and deployment to [Sonatype OpenSource Repository Hosting][ossrh_maven] and later syncing to [Maven Central][maven_repository_release], do\n\n  `mvn clean deploy -Prelease,release-ossrh,docker,docker-tag-latest`\n\n  Note: Do only use docker-tag-latest profile if you really want the tag latest, e.g. for newest release of the highest version.\n\n* Build and deploy a snapshot\n\n  For a Maven Snapshot deployment to [Sonatype][maven_repository_snapshot], do\n\n  `mvn clean deploy -Prelease-ossrh,docker`\n\n[a_c_m]: https://commons.apache.org/proper/commons-email/index.html \n[greenmail_project_site]: https://greenmail-mail-test.github.io/greenmail/\n[greenmail_examples]: https://greenmail-mail-test.github.io/greenmail#examples\n[greenmail_faq]: https://greenmail-mail-test.github.io/greenmail#faq\n[greenmail_javadoc]: https://javadoc.io/doc/com.icegreen/greenmail\n[greenmail_download]: https://greenmail-mail-test.github.io/greenmail#download\n[greenmail_sf_site]: https://sourceforge.net/p/greenmail\n[maven_repository_com]: http://mvnrepository.com/artifact/com.icegreen/greenmail\n[maven_download]: http://maven.apache.org\n[ossrh_maven]: http://central.sonatype.org/pages/apache-maven.html\n[maven_repository_snapshot]: https://oss.sonatype.org/content/repositories/snapshots/com/icegreen/\n[maven_repository_release]: http://central.maven.org/maven2/com/icegreen/\n[maven_wrapper]: https://maven.apache.org/wrapper/\n[github_fork]: https://help.github.com/articles/fork-a-repo/\n[github_pull_request]: https://help.github.com/articles/creating-a-pull-request/\n[docker-hub]: https://hub.docker.com/r/greenmail/standalone/\n[jm_21]: https://projects.eclipse.org/projects/ee4j.mail\n[jm_20]: https://projects.eclipse.org/projects/ee4j.mail\n[jm_16]: https://projects.eclipse.org/projects/ee4j.mail\n[jakarta_ee_10]: https://jakarta.ee/release/10/\n[jakarta_ee_9]: https://jakarta.ee/release/9/\n[jakarta_ee_8]: https://jakarta.ee/release/8/\n\n## Roadmap\n\n* [2.1](https://github.com/greenmail-mail-test/greenmail/milestone/39)\n  * Baseline: Jakarta EE 10\n    * JakartaMail 2.1 / Angus Mail\n    * Java 11\n    * Jersey 3.1.x\n  * Only junit 5?\n* [2.0](https://github.com/greenmail-mail-test/greenmail/milestone/3) ([branch master](https://github.com/greenmail-mail-test/greenmail/tree/master))\n  * Baseline: Jakarta EE 9\n    * JakartaMail 2.0\n    * Jersey 3.0.x for servlet 5 / restfulWS-3.0\n    * Java 11 for building / running integration tests\n  * Java 8\n  * Deprecations (no GreenMailRule in greenmail-core, ...)\n* [1.6](https://github.com/greenmail-mail-test/greenmail/issues?q=is%3Aopen+is%3Aissue+milestone%3A1.6) ([branch releases/1.6.x](https://github.com/greenmail-mail-test/greenmail/tree/releases/1.6.x))\n  * Bugfix and maintenance\n\n## Contributing\n\nWe really appreciate your contribution!\n\nPlease check out the [contributing guide](CONTRIBUTING.md).\n\nMisc\n----\nMany thanks to [JProfiler](http://www.ej-technologies.com/products/jprofiler/overview.html) and [Jetbrains](https://www.jetbrains.com/) for supporting this project with free OSS licenses\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenmail-mail-test%2Fgreenmail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreenmail-mail-test%2Fgreenmail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenmail-mail-test%2Fgreenmail/lists"}