{"id":21456042,"url":"https://github.com/etkecc/go-trysmtp","last_synced_at":"2025-10-28T20:08:12.666Z","repository":{"id":253879043,"uuid":"840003306","full_name":"etkecc/go-trysmtp","owner":"etkecc","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-14T16:37:53.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T13:13:59.166Z","etag":null,"topics":["library","smtp"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etkecc.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-08T19:04:21.000Z","updated_at":"2024-10-14T16:36:15.000Z","dependencies_parsed_at":"2024-08-20T05:54:43.644Z","dependency_job_id":"6c972eaf-0f07-431e-abcb-10c7ee3c8fbf","html_url":"https://github.com/etkecc/go-trysmtp","commit_stats":null,"previous_names":["etkecc/go-trysmtp"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etkecc%2Fgo-trysmtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etkecc%2Fgo-trysmtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etkecc%2Fgo-trysmtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etkecc%2Fgo-trysmtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etkecc","download_url":"https://codeload.github.com/etkecc/go-trysmtp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243966643,"owners_count":20376099,"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":["library","smtp"],"created_at":"2024-11-23T05:14:19.501Z","updated_at":"2025-10-28T20:08:07.629Z","avatar_url":"https://github.com/etkecc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trySMTP\n\nLibrary that tries to connect to SMTP host by TO/target email address:\n\n* Lookup MX and A\n* Try to connect to SMTP on different ports\n* Try to use STARTTLS if server supports it\n* Return SMTP Client with `Mail()` and `Rcpt()` already called\n\n\n```go\nfrom := \"sender@example.com\"\nto := \"target@example.org\"\nclient, err := trysmtp.Connect(from, to)\nif err != nil {\n\t// something went wrong!\n}\n\nclient.Data([]byte(\"your email data here\"))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetkecc%2Fgo-trysmtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetkecc%2Fgo-trysmtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetkecc%2Fgo-trysmtp/lists"}