{"id":21451023,"url":"https://github.com/soontao/send-mail","last_synced_at":"2025-03-17T02:41:00.499Z","repository":{"id":22216843,"uuid":"95623344","full_name":"Soontao/send-mail","owner":"Soontao","description":"The easiest way send email from cli","archived":false,"fork":false,"pushed_at":"2023-12-15T02:22:34.000Z","size":9,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T12:24:31.802Z","etag":null,"topics":["cli","mail","tool"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Soontao.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":"2017-06-28T03:06:05.000Z","updated_at":"2023-02-15T21:20:10.000Z","dependencies_parsed_at":"2023-01-11T21:31:57.440Z","dependency_job_id":null,"html_url":"https://github.com/Soontao/send-mail","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/Soontao%2Fsend-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fsend-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fsend-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fsend-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Soontao","download_url":"https://codeload.github.com/Soontao/send-mail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243963714,"owners_count":20375664,"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":["cli","mail","tool"],"created_at":"2024-11-23T04:17:35.784Z","updated_at":"2025-03-17T02:41:00.480Z","avatar_url":"https://github.com/Soontao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# send-mail\n\nsimple tool to help send mail from cli\n\n## install\n\n```bash\nnpm i -g https://github.com/Soontao/send-mail\n```\n\n## usage\n\nhelp from cli\n\n```bash\n$ send-mail --help\n\nsimple tool to help send mail from cli\n\nOptions:\n  -s, --service  service name, for example, QQ\n  -u, --user     auth user\n  -p, --pass     auth user password, or toekn\n  -t, --target   target email address\n  -h, --header   email title\n  -c, --content  email content\n  --save         save current config to user main directory\n  --clean        clean config\n\n```\n\ncli command template\n\n```bash\nsend-mail -s \u003cyour service\u003e -u \u003cyour email user\u003e -p \u003cyour email password or token\u003e -t \u003ctarget email\u003e -h \u003cmail header\u003e -c \u003cmail content\u003e\n```\n\nlive sample\n\n```bash\nsend-mail -s QQ -u no.such.mail.box@qq.com -p nosuchmailpass -t theo.sun@outlook.com -h 'HI Theo' -c 'this is content, nice to see you theo'\n```\n\n## Adavance\n\nWith config\n\n```bash\nsend-mail --save -s QQ -u no.such.mail.box@qq.com -p nosuchmailpass\n```\n\nAnd you could use the saved config later\n\n```bash\nsend-mail -t 'theo.sun@qq.com' -h 'Hi theo' -c 'nice to see you here'\n# same as send-mail -s QQ -u no.such.mail.box@qq.com -p nosuchmailpass -t 'theo.sun@qq.com' -h 'Hi theo' -c 'nice to see you here'\n```\n\nDelete config\n\n```bash\nsend-mail --clean\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoontao%2Fsend-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoontao%2Fsend-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoontao%2Fsend-mail/lists"}