{"id":28482505,"url":"https://github.com/jcabi/jcabi-email","last_synced_at":"2025-06-30T11:32:34.919Z","repository":{"id":22441805,"uuid":"25780072","full_name":"jcabi/jcabi-email","owner":"jcabi","description":"Object-Oriented Email Sending Java SDK","archived":false,"fork":false,"pushed_at":"2025-06-02T21:01:40.000Z","size":1643,"stargazers_count":56,"open_issues_count":11,"forks_count":23,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-07T20:44:02.295Z","etag":null,"topics":["email-sending","java","smtp","smtp-client"],"latest_commit_sha":null,"homepage":"http://email.jcabi.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcabi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2014-10-26T16:12:08.000Z","updated_at":"2025-05-19T09:41:06.000Z","dependencies_parsed_at":"2024-02-06T03:21:55.085Z","dependency_job_id":"7175d878-edb5-459c-9e32-a9b7509262cb","html_url":"https://github.com/jcabi/jcabi-email","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/jcabi/jcabi-email","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcabi","download_url":"https://codeload.github.com/jcabi/jcabi-email/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-email/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262765664,"owners_count":23360954,"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":["email-sending","java","smtp","smtp-client"],"created_at":"2025-06-07T20:37:48.901Z","updated_at":"2025-06-30T11:32:34.890Z","avatar_url":"https://github.com/jcabi.png","language":"Java","funding_links":[],"categories":["java","Code Examples"],"sub_categories":["[CUPID](https://dannorth.net/2022/02/10/cupid-for-joyful-coding/)"],"readme":"\u003cimg src=\"https://www.jcabi.com/logo-square.svg\" width=\"64px\" height=\"64px\" /\u003e\n\n[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)\n[![DevOps By Rultor.com](https://www.rultor.com/b/jcabi/jcabi-email)](https://www.rultor.com/p/jcabi/jcabi-email)\n\n[![mvn](https://github.com/jcabi/jcabi-email/actions/workflows/mvn.yml/badge.svg)](https://github.com/jcabi/jcabi-email/actions/workflows/mvn.yml)\n[![PDD status](https://www.0pdd.com/svg?name=jcabi/jcabi-email)](https://www.0pdd.com/p?name=jcabi/jcabi-email)\n[![Javadoc](https://javadoc.io/badge/com.jcabi/jcabi-email.svg)](https://www.javadoc.io/doc/com.jcabi/jcabi-email)\n[![jpeek report](https://i.jpeek.org/com.jcabi/jcabi-email/badge.svg)](https://i.jpeek.org/com.jcabi/jcabi-email/)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-email/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-email)\n[![Dependencies](https://www.versioneye.com/user/projects/561ac442a193340f2f0011cb/badge.svg?style=flat)](https://www.versioneye.com/user/projects/561ac442a193340f2f0011cb)\n\nMore details are here: [email.jcabi.com](http://email.jcabi.com/).\nThis article explains how this library was designed:\n[How Immutability Helps](http://www.yegor256.com/2014/11/07/how-immutability-helps.html).\n\nIt is an object-oriented email sending SDK for Java:\n\n```java\nPostman postman = new Postman.Default(\n  new SMTP(\n    new Token(\"user\", \"password\").access(\n      new Protocol.SMTP(\"smtp.gmail.com\", 587)\n    )\n  )\n);\npostman.send(\n  new Envelope.MIME()\n    .with(new StSender(\"Yegor Bugayenko \u003cyegor@jcabi.com\u003e\"))\n    .with(new StRecipient(\"Jeff Lebowski\", \"jeff@gmail.com\"))\n    .with(new StSubject(\"dude, how are you?\"))\n    .with(new StBCC(\"my-boss@jcabi.com\"))\n    .with(new EnPlain(\"Hi, long time no see! :) Check my pic!\"))\n    .with(\n      new EnBinary(\n        new File(\"/tmp/picture.gif\"),\n        \"my-picture.gif\",\n        \"image/gif\"\n      )\n    )\n);\n```\n\nMake sure you have these dependencies:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ejavax.mail\u003c/groupId\u003e\n  \u003cartifactId\u003emailapi\u003c/artifactId\u003e\n  \u003cversion\u003e1.4.3\u003c/version\u003e\n  \u003cscope\u003eprovided\u003c/scope\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003ejavax.mail\u003c/groupId\u003e\n  \u003cartifactId\u003email\u003c/artifactId\u003e\n  \u003cversion\u003e1.5.0-b01\u003c/version\u003e\n  \u003cscope\u003eruntime\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n## Questions?\n\nIf you have any questions about the framework, or something doesn't work as expected,\nplease [submit an issue here](https://github.com/jcabi/jcabi-email/issues/new).\n\n## How to contribute?\n\nFork the repository, make changes, submit a pull request.\nWe promise to review your changes same day and apply to\nthe `master` branch, if they look correct.\n\nPlease run Maven build before submitting a pull request:\n\n```\n$ mvn clean install -Pqulice\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcabi%2Fjcabi-email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcabi%2Fjcabi-email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcabi%2Fjcabi-email/lists"}