{"id":15127524,"url":"https://github.com/eexit/http2smtp","last_synced_at":"2025-07-25T12:36:45.052Z","repository":{"id":50230342,"uuid":"325412030","full_name":"eexit/http2smtp","owner":"eexit","description":"📩  An API that forwards HTTP-backed vendor mailer calls to an SMTP catcher","archived":false,"fork":false,"pushed_at":"2023-04-11T12:49:36.000Z","size":7586,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T15:47:36.444Z","etag":null,"topics":["bridge","docker","docker-container","golang","golang-application","http-server","mailcatcher-api","mailhog","mit-license","smtp-client","smtp-mail","sparkpost-developers"],"latest_commit_sha":null,"homepage":"","language":"Go","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/eexit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-12-29T23:56:50.000Z","updated_at":"2024-09-28T21:52:18.000Z","dependencies_parsed_at":"2024-06-20T22:07:23.381Z","dependency_job_id":null,"html_url":"https://github.com/eexit/http2smtp","commit_stats":{"total_commits":72,"total_committers":2,"mean_commits":36.0,"dds":0.02777777777777779,"last_synced_commit":"e8e6ecaf92d40338cf2a9054e61a6b55b62c8288"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/eexit/http2smtp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eexit%2Fhttp2smtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eexit%2Fhttp2smtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eexit%2Fhttp2smtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eexit%2Fhttp2smtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eexit","download_url":"https://codeload.github.com/eexit/http2smtp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eexit%2Fhttp2smtp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267007658,"owners_count":24020263,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bridge","docker","docker-container","golang","golang-application","http-server","mailcatcher-api","mailhog","mit-license","smtp-client","smtp-mail","sparkpost-developers"],"created_at":"2024-09-26T02:04:53.751Z","updated_at":"2025-07-25T12:36:45.031Z","avatar_url":"https://github.com/eexit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📩 HTTP to SMTP\n[![ci](https://github.com/eexit/http2smtp/workflows/build/badge.svg)](https://github.com/eexit/http2smtp/actions) [![codecov](https://codecov.io/gh/eexit/http2smtp/branch/master/graph/badge.svg?token=XH18EYLDLZ)](https://codecov.io/gh/eexit/http2smtp) [![version](https://img.shields.io/github/v/tag/eexit/http2smtp?label=version\u0026logo=github\u0026sort=semver)](https://github.com/eexit/http2smtp/releases) [![license](https://img.shields.io/github/license/eexit/http2smtp)](https://github.com/eexit/http2smtp/blob/master/LICENSE)\n\nAn API that forwards HTTP-backed vendor mailer calls to SMTP.\n\nPlug a [MailHog](https://github.com/mailhog/MailHog) or [MailCatcher](https://mailcatcher.me/) to API email sending vendors such as [SparkPost](https://www.sparkpost.com/), [Mailgun](https://www.mailgun.com/) or [SendGrid](https://sendgrid.com/) for testing purposes.\n\n#### Features\n\n- :white_check_mark: 100% code coverage\n- :whale: Light Docker image available\n- :zap: AWS Lambda Function 3-commands deployment\n\n## Usage\n\nSee [examples](examples).\n\n:zap: ProTip: for tracing purposes, this app kinda supports [W3C Trace Context recommendation](https://www.w3.org/TR/trace-context/). Configure the env var `TRACEPARENT_HEADER` and inject any trace into this header value. All log entries will be contextualized with the given value.\n\n### Docker image [![docker pull](https://img.shields.io/docker/pulls/eexit/http2smtp)](https://hub.docker.com/repository/docker/eexit/http2smtp) [![size](https://img.shields.io/docker/image-size/eexit/http2smtp?sort=semver)](https://hub.docker.com/repository/docker/eexit/http2smtp)\n\n1. Checkout this repo or only copy the `.env.dist` and `docker-compose.yml` files\n1. Rename `.env.dist` into `.env`\n1. Optional: update the values accordingly\n1. Pull images and run `docker-compose up http2smtp`\n\n### AWS Lambda Function ![aws-lambda-ready](https://img.shields.io/badge/aws-lambda--ready-orange?logo=amazon-aws\u0026style=flat)\n\n:zap: This project is also shipped for an AWS Lambda Function-ready. Check out the [README](cmd/http2smtp-lambda).\n\n## Vendors\n\n### [SparkPost](https://developers.sparkpost.com/api/)\n\n    POST /sparkpost/api/v1/transmissions\n\nSparkPost supports either [inline](https://developers.sparkpost.com/api/transmissions/#transmissions-post-send-inline-content) or [RFC 822 transmissions](https://developers.sparkpost.com/api/transmissions/#transmissions-post-send-rfc822-content). For now, only the latter one is supported.\n\nBasic validation is enforced, only the recipients list email and the RFC 822 content are used and mandatory.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributors\n\n[![contributors](https://contrib.rocks/image?repo=eexit/http2smtp)](https://github.com/eexit/http2smtp/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feexit%2Fhttp2smtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feexit%2Fhttp2smtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feexit%2Fhttp2smtp/lists"}