{"id":22430551,"url":"https://github.com/martenframework/marten-smtp-emailing","last_synced_at":"2025-08-01T11:32:24.995Z","repository":{"id":153921135,"uuid":"574253688","full_name":"martenframework/marten-smtp-emailing","owner":"martenframework","description":"An SMTP emailing backend for the Marten web framework.","archived":false,"fork":false,"pushed_at":"2024-07-11T21:28:50.000Z","size":45,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-12T00:14:04.089Z","etag":null,"topics":["crystal","email","emailing","framework","marten","smtp","web"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/martenframework.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2022-12-04T22:04:00.000Z","updated_at":"2024-07-11T21:28:53.000Z","dependencies_parsed_at":"2024-03-13T16:27:22.122Z","dependency_job_id":"7f780742-85bf-409c-b3f0-6b73514869e1","html_url":"https://github.com/martenframework/marten-smtp-emailing","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/martenframework%2Fmarten-smtp-emailing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martenframework%2Fmarten-smtp-emailing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martenframework%2Fmarten-smtp-emailing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martenframework%2Fmarten-smtp-emailing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martenframework","download_url":"https://codeload.github.com/martenframework/marten-smtp-emailing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228371009,"owners_count":17909389,"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":["crystal","email","emailing","framework","marten","smtp","web"],"created_at":"2024-12-05T21:08:48.827Z","updated_at":"2024-12-05T21:08:49.627Z","avatar_url":"https://github.com/martenframework.png","language":"Crystal","funding_links":[],"categories":["Marten shards"],"sub_categories":["Emailing"],"readme":"# Marten SMTP Emailing\n\n[![CI](https://github.com/martenframework/marten-smtp-emailing/workflows/Specs/badge.svg)](https://github.com/martenframework/marten-smtp-emailing/actions)\n[![CI](https://github.com/martenframework/marten-smtp-emailing/workflows/QA/badge.svg)](https://github.com/martenframework/marten-smtp-emailing/actions)\n\n**Marten SMTP Emailing** provides an SMTP backend that can be used with Marten web framework's [emailing system](https://martenframework.com/docs/emailing).\n\n## Installation\n\nSimply add the following entry to your project's `shard.yml`:\n\n```yaml\ndependencies:\n  marten_smtp_emailing:\n    github: martenframework/marten-smtp-emailing\n```\n\nAnd run `shards install` afterward.\n\n## Configuration\n\nFirst, add the following requirement to your project's `src/project.cr` file:\n\n```crystal\nrequire \"marten_smtp_emailing\"\n```\n\nYou can then configure your project to use the SMTP backend by setting the corresponding configuration option as follows:\n\n```crystal\nMarten.configure do |config|\n  config.emailing.backend = MartenSMTPEmailing::Backend.new\nend\n```\n\nBy default, the backend will attempt to deliver emails to an SMTP server running on localhost and listening on the standard SMTP port (25). If you need to, you can change these backend properties at initialization time:\n\n```crystal\nMarten.configure do |config|\n  config.emailing.backend = MartenSMTPEmailing::Backend.new(\n    host: \"localhost\",\n    port: 25,\n    helo_domain: \"localhost\",\n    use_tls: true,\n    username: nil,\n    password: nil\n  )\nend\n```\n\n## Authors\n\nMorgan Aubert ([@ellmetha](https://github.com/ellmetha)) and \n[contributors](https://github.com/martenframework/marten-smtp-emailing/contributors).\n\n## License\n\nMIT. See ``LICENSE`` for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartenframework%2Fmarten-smtp-emailing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartenframework%2Fmarten-smtp-emailing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartenframework%2Fmarten-smtp-emailing/lists"}