{"id":21334808,"url":"https://github.com/miaolz123/sendcloud","last_synced_at":"2025-06-11T14:04:36.840Z","repository":{"id":57507491,"uuid":"64456441","full_name":"miaolz123/sendcloud","owner":"miaolz123","description":"A SDK of sendcloud.net for Golang","archived":false,"fork":false,"pushed_at":"2016-08-01T08:54:34.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T14:33:53.709Z","etag":null,"topics":[],"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/miaolz123.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}},"created_at":"2016-07-29T06:28:37.000Z","updated_at":"2016-07-29T09:03:32.000Z","dependencies_parsed_at":"2022-09-19T05:30:57.418Z","dependency_job_id":null,"html_url":"https://github.com/miaolz123/sendcloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaolz123%2Fsendcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaolz123%2Fsendcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaolz123%2Fsendcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaolz123%2Fsendcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miaolz123","download_url":"https://codeload.github.com/miaolz123/sendcloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814855,"owners_count":20352037,"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":[],"created_at":"2024-11-21T23:34:26.745Z","updated_at":"2025-03-16T01:41:51.967Z","avatar_url":"https://github.com/miaolz123.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sendcloud [![GoDoc](https://godoc.org/github.com/miaolz123/sendcloud?status.svg)](https://godoc.org/github.com/miaolz123/sendcloud) [![Build Status](https://travis-ci.org/miaolz123/sendcloud.svg?branch=master)](https://travis-ci.org/miaolz123/sendcloud)\n\n### A SDK of sendcloud.net for Golang\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\n\t\"github.com/miaolz123/sendcloud\"\n)\n\n// Please replace this section\nconst (\n\temailAPIUser = \"balabala\"\n\temailAPIKey  = \"balabalabalabala\"\n    sendAddr     = \"GooGle Inc.\u003ctest@balabala.sendcloud.org\u003e\"\n    receiveAddr  = \"yourname@126.com\"\n)\n\nfunc main() {\n    conf := sendcloud.Config{\n\t\tEmailAPIUser: emailAPIKey,\n\t\tEmailAPIKey:  emailAPIKey,\n\t}\n\tclient := sendcloud.New(conf)\n\txs := sendcloud.XSmtpAPI{\n\t\tTo: []string{receiveAddr},\n\t\tSub: map[string][]string{\n\t\t\t\"%name%\": []string{\"TEST USER\"},\n\t\t},\n\t}\n\tif err := client.SendEmailTpl(sendAddr, \"test_template_active\", xs); err != nil {\n\t\tlog.Println(\"Send email error:\", err)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiaolz123%2Fsendcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiaolz123%2Fsendcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiaolz123%2Fsendcloud/lists"}