{"id":25776453,"url":"https://github.com/greenmail-mail-test/greenmail","last_synced_at":"2025-02-27T06:06:29.110Z","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":"2025-02-23T15:47:26.000Z","size":6572,"stargazers_count":656,"open_issues_count":62,"forks_count":185,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-02-23T16:30:33.701Z","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}},"created_at":"2014-09-26T12:43:10.000Z","updated_at":"2025-02-23T15:47:24.000Z","dependencies_parsed_at":"2023-12-03T10:22:35.034Z","dependency_job_id":"f5862f04-36f6-4122-989f-ee74e676a146","html_url":"https://github.com/greenmail-mail-test/greenmail","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240987435,"owners_count":19889334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-02-27T06:06:29.103Z","avatar_url":"https://github.com/greenmail-mail-test.png","language":"Java","funding_links":[],"categories":["测试","others","Email"],"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,release-ossrh,docker,docker-tag-latest`\n  `mvn release:perform -Prelease,release-ossrh,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"}