{"id":21658523,"url":"https://github.com/alash3al/go-smtpsrv","last_synced_at":"2025-07-17T21:31:15.207Z","repository":{"id":41445914,"uuid":"154333074","full_name":"alash3al/go-smtpsrv","owner":"alash3al","description":"a tiny package that implements SMTP server for Go projects","archived":true,"fork":false,"pushed_at":"2023-12-10T07:01:18.000Z","size":59,"stargazers_count":105,"open_issues_count":5,"forks_count":27,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T17:28:26.301Z","etag":null,"topics":["go","golang","smtp","smtp-library","smtp-server"],"latest_commit_sha":null,"homepage":null,"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/alash3al.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}},"created_at":"2018-10-23T13:29:18.000Z","updated_at":"2024-04-11T06:36:36.000Z","dependencies_parsed_at":"2024-06-18T16:56:57.218Z","dependency_job_id":null,"html_url":"https://github.com/alash3al/go-smtpsrv","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fgo-smtpsrv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fgo-smtpsrv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fgo-smtpsrv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fgo-smtpsrv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alash3al","download_url":"https://codeload.github.com/alash3al/go-smtpsrv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226304764,"owners_count":17603672,"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":["go","golang","smtp","smtp-library","smtp-server"],"created_at":"2024-11-25T09:29:25.198Z","updated_at":"2024-11-25T09:29:35.853Z","avatar_url":"https://github.com/alash3al.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"A SMTP Server Package [![](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](https://godoc.org/github.com/alash3al/go-smtpsrv)\n=============================\na simple smtp server library for writing email servers like a boss.\n\nQuick Start\n===========\n\u003e `go get github.com/alash3al/go-smtpsrv`\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/alash3al/go-smtpsrv/v3\"\n)\n\nfunc main() {\n\thandler := func(c smtpsrv.Context) error {\n\t\t// ...\n\t\treturn nil\n\t}\n\n\tcfg := smtpsrv.ServerConfig{\n\t\tBannerDomain:  \"mail.my.server\",\n\t\tListenAddr: \":25025\",\n\t\tMaxMessageBytes: 5 * 1024,\n\t\tHandler:     handler,\n\t}\n\n\tfmt.Println(smtpsrv.ListenAndServe(\u0026cfg))\n}\n\n```\n\nThanks\n=======\n- [parsemail](https://github.com/DusanKasan/parsemail)\n- [go-smtp](github.com/emersion/go-smtp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falash3al%2Fgo-smtpsrv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falash3al%2Fgo-smtpsrv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falash3al%2Fgo-smtpsrv/lists"}