{"id":23097088,"url":"https://github.com/alexcoder04/gomail","last_synced_at":"2025-06-16T08:37:13.094Z","repository":{"id":53334950,"uuid":"433908634","full_name":"alexcoder04/gomail","owner":"alexcoder04","description":"Send emails via SMTP","archived":false,"fork":false,"pushed_at":"2023-03-01T20:41:50.000Z","size":60,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T20:15:42.363Z","etag":null,"topics":["e-mail","email","go","golang","mail","side-project","smtp","smtp-client"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexcoder04.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":"2021-12-01T16:47:26.000Z","updated_at":"2022-11-26T16:12:54.000Z","dependencies_parsed_at":"2024-06-21T02:03:44.008Z","dependency_job_id":"74de86c9-f04b-435d-92a0-a61ebe9dc9a1","html_url":"https://github.com/alexcoder04/gomail","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":0.5238095238095238,"last_synced_commit":"f5736bcd94ba25d26e3d91d9ca016d295a3090fe"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/alexcoder04/gomail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgomail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgomail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgomail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgomail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexcoder04","download_url":"https://codeload.github.com/alexcoder04/gomail/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgomail/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260126837,"owners_count":22962698,"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":["e-mail","email","go","golang","mail","side-project","smtp","smtp-client"],"created_at":"2024-12-16T22:51:15.808Z","updated_at":"2025-06-16T08:37:13.068Z","avatar_url":"https://github.com/alexcoder04.png","language":"Go","readme":"\n# gomail\n\nOne day my friend asked me if it's possible to automate sending e-mails, so I\ndecided it's a great opportunity to practice Go and here it is - a tiny program\nthat can send e-mails via SMTP.\n\n**It was created for educational purposes only, don't use it to spread spam.**\n\n**You need to have an account on a mail server (e. g. Gmail, Outlook or own\nserver) to use this program!**\n\n## How to install\n\n### Stable release\n\nDownload the executable for your operating system from\nhttps://github.com/alexcoder04/gomail/releases/latest.\n\n### Compiling yourself\n\n```sh\ngit clone https://github.com/alexcoder04/gomail\ncd gomail\nmake linux # or `make windows`\n```\n\n## How to use (important!)\n\nThe program is configured with the following files:\n\n### `\u003cUSER_CONFIG_DIR\u003e/gomail/settings.yml`\n\nYou can use another file by passing the `-s` flag (e. g. `gomail -s mysettings.yml`)\n\nThe host address can vary depending on your e-mail provider, most likely it's\nsomething like *mail.example.com* or *smtp.example.com*. The port is also\ndifferent for different e-mail providers.\n\nFor the username, it is the part of the mail address before the @-sign for my\nprovider, but it may be the full address (e. g. on Gmail) or something\ncompletely different for your e-mail provider.\n\n```yml\nFrom: youraddress@example.com\nAddr: smtp.example.com:587\nHost: smtp.example.com\nUsername: youraddress@example.com\nPassword: YourSecureP4ssw0rd\nSubject: Hello friends!\n```\n\n### `\u003cUSER_CONFIG_DIR\u003e/gomail/recipients.txt`\n\nYou can use another file by passing the `-r` flag (e. g. `gomail -r friendslist.txt`)\n\n```text\nmyfriend1@example.com\nmyfriend2@example.com\n```\n\n### `./mail.txt`\n\nYou can use another file by passing the `-b` flag (e. g. `gomail -b hello.txt`)\n\n```text\nHello friends,\n\nI sent this mail to you using gomail.\n\nHave a nice day :)\n```\n\n## FAQ\n\n### Can I trust you that you aren't going to steal my password?\n\n - Although I never would even try to do something like that, you can't. But\n   you can read through the code and compile it yourself, so you don't have to\n   trust anyone :)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fgomail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexcoder04%2Fgomail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fgomail/lists"}