{"id":19836531,"url":"https://github.com/wawandco/meilo","last_synced_at":"2026-02-28T10:06:22.881Z","repository":{"id":254136411,"uuid":"845592517","full_name":"wawandco/meilo","owner":"wawandco","description":"A Go SMTP server for development/testing purposes.","archived":false,"fork":false,"pushed_at":"2026-01-28T19:23:02.000Z","size":48,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-29T09:45:50.278Z","etag":null,"topics":["development","golang","smtp"],"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/wawandco.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":"2024-08-21T14:42:51.000Z","updated_at":"2026-01-28T21:02:42.000Z","dependencies_parsed_at":"2024-11-12T12:11:41.976Z","dependency_job_id":"cd57efa5-f8f9-414a-92e2-92145d1e9ae7","html_url":"https://github.com/wawandco/meilo","commit_stats":null,"previous_names":["wawandco/meilo"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wawandco/meilo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fmeilo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fmeilo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fmeilo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fmeilo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wawandco","download_url":"https://codeload.github.com/wawandco/meilo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fmeilo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29929654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["development","golang","smtp"],"created_at":"2024-11-12T12:11:36.797Z","updated_at":"2026-02-28T10:06:22.835Z","avatar_url":"https://github.com/wawandco.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meilo\nMeilo is an implementation of a test/development SMTP server written in Go. Meilo opens sent emails instead of sending them, \nthis allows development workflows where ONLY the SMTP credentials are changed.\n\n## Prerequisites\n- Meilo requies Go 1.23 or later, you can download it from [here](https://golang.org/dl/)\n\n- Meilo package:\n```bash\ngo get github.com/wawandco/meilo\n```\n\n## Usage\n### Create a new instance of Meilo\nYou have the ability to set the options for the SMTP server, these are totally optional, if you don't set them, Meilo will use the default values.\n\n```go\n// Start the SMTP server\ncreds, err := meilo.Start(\n\t// Directory to put the files\n\tmeilo.WithDir(\"/my/emails/folder\"),\n\t// Port to use\n\tmeilo.WithPort(\"1025\"),\n)\n \nif err != nil {\n\t// Handle the error starting the server.\n\t...\n}\n```\nThis will start the SMTP server and return the credentials to be used in the email sending process.\n\n### Send an email using the SMTP server\n\n```go\n//Then you can use the credentials to build the SMTP auth \nauth := smtp.PlainAuth(\"\", creds.User, creds.Password, creds.Host),\nfrom := \"username@example.com\"\nto:= []string{\"example@example.com\"}\nbody:= []byte(\"Hello from meilo!\")\n\n// And then the creds instance has an Addr method to use when sending\nerr = smtp.SendMail(creds.Addr(), auth, from ,to, body)\nif err != nil {\n        // Handle the sending error\n        ...\n\n}\n```\n## Options\n\n##### `meilo.WithDir(directory)`\nAllows to specify the directory where the emails will be stored, by default it will use the system's temporary directory.\n\n##### `meilo.WithPort(port)`: \nAllows to specify the port of the SMTP server. This is useful when running multiple services in your development environment.\n\n\n## Roadmap / Ideas\n- Web interface\n- UI Improvements.\n- Deployable service for Staging/Testing.\n- Listing historically sent emails.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwawandco%2Fmeilo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwawandco%2Fmeilo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwawandco%2Fmeilo/lists"}