{"id":19004392,"url":"https://github.com/knrdl/rest2smtp","last_synced_at":"2025-09-13T22:23:34.179Z","repository":{"id":41339296,"uuid":"500186189","full_name":"knrdl/rest2smtp","owner":"knrdl","description":"Send mails via REST API","archived":false,"fork":false,"pushed_at":"2025-08-19T15:02:15.000Z","size":325,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-19T15:35:10.040Z","etag":null,"topics":["api","mail","mailer","openapi","rest","rest-api","rust","smtp","smtps","starttls","swagger","tls"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/knrdl.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2022-06-05T19:00:19.000Z","updated_at":"2025-08-19T15:02:15.000Z","dependencies_parsed_at":"2023-11-07T01:12:43.634Z","dependency_job_id":"5d3049ae-c293-4219-9dd3-88e5a9a09987","html_url":"https://github.com/knrdl/rest2smtp","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/knrdl/rest2smtp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knrdl%2Frest2smtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knrdl%2Frest2smtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knrdl%2Frest2smtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knrdl%2Frest2smtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knrdl","download_url":"https://codeload.github.com/knrdl/rest2smtp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knrdl%2Frest2smtp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275037337,"owners_count":25394597,"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-09-13T02:00:10.085Z","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":["api","mail","mailer","openapi","rest","rest-api","rust","smtp","smtps","starttls","swagger","tls"],"created_at":"2024-11-08T18:23:00.941Z","updated_at":"2025-09-13T22:23:34.130Z","avatar_url":"https://github.com/knrdl.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rest2smtp\n\nSend mails via REST API\n\nAPI Documentation is served by the program under the root path (`/`).\nIt's also available [here](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/knrdl/rest2smtp/main/www/openapi.yaml#/mail/sendmail).\n\n## Config\n\n| Env Var         | Description                                                                                                         |\n|-----------------|---------------------------------------------------------------------------------------------------------------------|\n| SMTP_HOST       | Hostname (required)                                                                                                 |\n| SMTP_PORT       | (default depends on encryption method)                                                                              |\n| SMTP_ENCRYPTION | `TLS` (default), `STARTTLS`, `UNENCRYPTED` (insecure)                                                               |\n| SMTP_USERNAME   | (optional)                                                                                                          |\n| SMTP_PASSWORD   | (optional)                                                                                                          |\n| API_DOC_INFO    | Custom text (or html) to be displayed in API documentation header. Defaults to \"Send mails via REST API\" (optional) |\n\n## Deployment\n\nDocker Compose / Swarm\n\n```yaml\nversion: '3.9'\n\nservices:\n  rest2smtp:\n    image: knrdl/rest2smtp  # or alternative: ghcr.io/knrdl/rest2smtp\n    hostname: rest2smtp\n    environment:\n      SMTP_HOST: smtp.example.org  # replace this\n    ports:\n      - \"80:80\"\n```\n\n## Development\n\n```shell\n# in project root dir\npodman run -it --rm -v \"$PWD:$PWD\" -w \"$PWD\" -p8080:80 --env-file env docker.io/library/rust\n$ cargo run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknrdl%2Frest2smtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknrdl%2Frest2smtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknrdl%2Frest2smtp/lists"}