{"id":20664503,"url":"https://github.com/outr/mailgun4s","last_synced_at":"2025-04-19T16:21:44.615Z","repository":{"id":50026473,"uuid":"65953256","full_name":"outr/mailgun4s","owner":"outr","description":"Mailgun API implementation in Scala","archived":false,"fork":false,"pushed_at":"2025-01-14T14:10:23.000Z","size":73,"stargazers_count":17,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T10:04:30.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-08-18T01:03:36.000Z","updated_at":"2025-01-14T14:10:27.000Z","dependencies_parsed_at":"2024-05-05T02:33:34.131Z","dependency_job_id":null,"html_url":"https://github.com/outr/mailgun4s","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outr%2Fmailgun4s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outr%2Fmailgun4s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outr%2Fmailgun4s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outr%2Fmailgun4s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outr","download_url":"https://codeload.github.com/outr/mailgun4s/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249737239,"owners_count":21318397,"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":[],"created_at":"2024-11-16T19:24:42.011Z","updated_at":"2025-04-19T16:21:44.571Z","avatar_url":"https://github.com/outr.png","language":"Scala","funding_links":[],"categories":["Table of Contents","Misc"],"sub_categories":["Misc"],"readme":"[![Codacy Badge](https://api.codacy.com/project/badge/Grade/be6b2c52582c469ca0092cde7893b909)](https://www.codacy.com/app/matthicks/mailgun4s?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=outr/mailgun4s\u0026utm_campaign=badger)\n[![Build Status](https://secure.travis-ci.org/outr/mailgun4s.png?branch=master)](http://travis-ci.org/outr/mailgun4s)\n\nmailgun4s \n============\n\nUpdated project originally forked from https://github.com/Nycto/mailgun-scala but since has been completely re-written.\n\nA Scala wrapper around the Mailgun API. Their documentation can\nbe found here:\n\nhttp://documentation.mailgun.com\n\nCurrently only supports sending messages, but more functionality will be added as needed or requested.\n\nExample\n-------\n\nNote that as of 1.1, we now use [cats-effect](https://typelevel.org/cats-effect/) instead of Futures.\n\nThe following example shows how to instantiate and send an email:\n\n```scala\nimport org.matthicks.mailgun._\nimport java.io._\nimport scala.concurrent._\nimport cats.effect.IO\n\nval mailgun = new Mailgun(\"samples.mailgun.org\", \"key-YOUR-MAILGUN-KEY\")\nval io: IO[MessageResponse] = mailgun.send(Message.simple(\n  from = EmailAddress(\"nobody@example.com\", \"Test App\"),\n  to = List(EmailAddress(\"mailgun-scala@mailinator.com\", \"Joe User\")),\n  subject = \"Mailgun4s Rules!\",\n  text = Some(\"This is the testing text\"),\n  html = Some(\"\u003chtml\u003e\u003cb\u003eThis\u003c/b\u003e \u003ci\u003eseems\u003c/i\u003e \u003cimg src=\\\"cid:example.jpg\\\"/\u003e to \u003ch1\u003ework!\u003c/h1\u003e\u003c/html\u003e\")\n).withInline(new File(\"example.jpg\"), \"image/jpeg\"))\n\nio.map { result =\u003e\n  println(s\"Result: $result\")\n}\n```\n\nAdding it to your Project\n-------------------------\n\nAdd the following directives to your `build.sbt` file:\n\n```\nlibraryDependencies ++= Seq(\n    \"org.matthicks\" %% \"mailgun4s\" % \"1.1.0\"\n)\n```\n\nLicense\n-------\n\nThis library is released under the MIT License, which is pretty spiffy. You\nshould have received a copy of the MIT License along with this program. If not,\nsee \u003chttp://www.opensource.org/licenses/mit-license.php\u003e.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutr%2Fmailgun4s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutr%2Fmailgun4s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutr%2Fmailgun4s/lists"}