{"id":27770774,"url":"https://github.com/ponlponl123/smtp-switcher","last_synced_at":"2025-06-25T22:02:56.218Z","repository":{"id":271051391,"uuid":"911899118","full_name":"ponlponl123/smtp-switcher","owner":"ponlponl123","description":"a simple smtp gateway","archived":false,"fork":false,"pushed_at":"2025-04-19T16:16:32.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T22:02:20.868Z","etag":null,"topics":["custom","python","smtp","tls"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ponlponl123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-04T06:10:23.000Z","updated_at":"2025-04-19T16:16:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec4155f3-0a97-401a-bbf5-ee42998edc24","html_url":"https://github.com/ponlponl123/smtp-switcher","commit_stats":null,"previous_names":["ponlponl123/smtp-switcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ponlponl123/smtp-switcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponlponl123%2Fsmtp-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponlponl123%2Fsmtp-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponlponl123%2Fsmtp-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponlponl123%2Fsmtp-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ponlponl123","download_url":"https://codeload.github.com/ponlponl123/smtp-switcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponlponl123%2Fsmtp-switcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261960492,"owners_count":23236570,"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":["custom","python","smtp","tls"],"created_at":"2025-04-29T21:16:29.226Z","updated_at":"2025-06-25T22:02:56.161Z","avatar_url":"https://github.com/ponlponl123.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smtp-switcher\n\nthis solution for who have more than one smtp endpoint server and mail server can only send one smtp endpoint\n\n## how to configure\n\n* `-p \u003cnumber\u003e` or `--port \u003cnumber\u003e`\n  the port of your smtp server (default: 25)\n\n* `-a` or `--public`\n  host smtp server on `0.0.0.0`\n\n## how to run\n\n* windows\n\n  ```cmd\n  ./run.bat\n  ```\n\n* linux\n\n  ```bash\n  bash run.sh\n  ```\n\n## relayers.json\n\nexample:\n\n```json\n  {\n    \"example.com\": {\n      \"host\": \"smtp.example.com\",\n      \"username\": \"my_smtp\",\n      \"password\": \"psw123456\",\n      \"port\": 587\n    },\n    \"gmail.com\": {\n      \"host\": \"smtp.gmail.com\",\n      \"username\": \"google\",\n      \"password\": \"gg123456\",\n      \"port\": 465\n    }\n  }\n```\n\n## note\n\n* smtp server must support STARTTLS\n\n* this is a simple solution, you may need to handle error, retry, and so on according to your needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponlponl123%2Fsmtp-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponlponl123%2Fsmtp-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponlponl123%2Fsmtp-switcher/lists"}