{"id":17960295,"url":"https://github.com/cketti/emailintentbuilder","last_synced_at":"2025-03-25T03:31:22.048Z","repository":{"id":57730322,"uuid":"48260005","full_name":"cketti/EmailIntentBuilder","owner":"cketti","description":"An Android Library for the creation of SendTo Intents with mailto: URI","archived":false,"fork":false,"pushed_at":"2019-12-14T01:47:21.000Z","size":156,"stargazers_count":173,"open_issues_count":7,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-19T08:37:08.604Z","etag":null,"topics":["android","email","intent","library","mailto"],"latest_commit_sha":null,"homepage":null,"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/cketti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"cketti"}},"created_at":"2015-12-18T22:50:41.000Z","updated_at":"2024-08-17T10:14:04.000Z","dependencies_parsed_at":"2022-09-26T22:01:21.552Z","dependency_job_id":null,"html_url":"https://github.com/cketti/EmailIntentBuilder","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cketti%2FEmailIntentBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cketti%2FEmailIntentBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cketti%2FEmailIntentBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cketti%2FEmailIntentBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cketti","download_url":"https://codeload.github.com/cketti/EmailIntentBuilder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245394733,"owners_count":20608122,"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":["android","email","intent","library","mailto"],"created_at":"2024-10-29T11:06:01.824Z","updated_at":"2025-03-25T03:31:22.034Z","avatar_url":"https://github.com/cketti.png","language":"Java","funding_links":["https://github.com/sponsors/cketti"],"categories":[],"sub_categories":[],"readme":"# Email Intent Builder\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/de.cketti.mailto/email-intent-builder/badge.svg)](https://maven-badges.herokuapp.com/maven-central/de.cketti.mailto/email-intent-builder)\n\nAn Android Library for the creation of [SendTo](https://developer.android.com/reference/android/content/Intent.html#ACTION_SENDTO) Intents with [mailto:](https://tools.ietf.org/html/rfc6068) URI\n\nRead the article [Android: Sending Email using Intents](https://medium.com/@cketti/android-sending-email-using-intents-3da63662c58f) if you want to learn what motivated the creation of this library.\n\n\n## Include the library\n\nAdd this to your `dependencies` block in `build.gradle`:\n\n```groovy\nimplementation 'de.cketti.mailto:email-intent-builder:2.0.0'\n```\n\n\n## Usage\n\nCreating a simple email intent is as easy as this:\n\n```java\nIntent emailIntent = EmailIntentBuilder.from(activity)\n        .to(\"alice@example.org\")\n        .subject(\"Feedback\")\n        .build();\n```\n\nThis will build an intent with the action `android.intent.action.SENDTO` and the data\n`mailto:alice@example.org?subject=Feedback`.\n\n\nYou can also use `EmailIntentBuilder` to add a couple of other fields and directly launch the intent:\n\n```java\nEmailIntentBuilder.from(activity)\n        .to(\"alice@example.org\")\n        .cc(\"bob@example.org\")\n        .bcc(\"charles@example.org\")\n        .subject(\"Message from an app\")\n        .body(\"Some text here\")\n        .start();\n```\n\n\n## Changelog\n\n**Version 2.0.0 (2019-11-26)**\n- Use `org.jetbrains:annotations` for nullability annotations\n- No functional changes\n\n**Version 1.0.0 (2015-12-19)**\n- Initial release\n\n## License\n\n    Copyright 2015-2019 cketti\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcketti%2Femailintentbuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcketti%2Femailintentbuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcketti%2Femailintentbuilder/lists"}