{"id":23817858,"url":"https://github.com/lsongdev/node-smtp","last_synced_at":"2025-09-07T00:32:45.257Z","repository":{"id":57364414,"uuid":"148915381","full_name":"lsongdev/node-smtp","owner":"lsongdev","description":":mailbox: simple smtp client and server for node.js","archived":false,"fork":false,"pushed_at":"2020-01-02T06:23:06.000Z","size":6,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-06T07:52:32.390Z","etag":null,"topics":["networking","smtp","smtp-client","smtp-protocol","smtp-server"],"latest_commit_sha":null,"homepage":"https://npmjs.org/smtp2","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/lsongdev.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":"2018-09-15T15:39:40.000Z","updated_at":"2025-07-01T10:47:14.000Z","dependencies_parsed_at":"2022-09-13T21:11:17.656Z","dependency_job_id":null,"html_url":"https://github.com/lsongdev/node-smtp","commit_stats":null,"previous_names":["lsongdev/node-smtp","song940/node-smtp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lsongdev/node-smtp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fnode-smtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fnode-smtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fnode-smtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fnode-smtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsongdev","download_url":"https://codeload.github.com/lsongdev/node-smtp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fnode-smtp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273983013,"owners_count":25202092,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["networking","smtp","smtp-client","smtp-protocol","smtp-server"],"created_at":"2025-01-02T05:48:55.961Z","updated_at":"2025-09-07T00:32:44.953Z","avatar_url":"https://github.com/lsongdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## smtp2\n\n\u003e simple smtp client and server for node.js\n\n[![smtp2](https://img.shields.io/npm/v/smtp2.svg)](https://npmjs.org/smtp2)\n[![Build Status](https://travis-ci.org/song940/smtp2.svg?branch=master)](https://travis-ci.org/song940/smtp2)\n\n### Installation\n\n```bash\n$ npm install smtp2\n```\n\n### Example\n\nsmtp client:\n\n```js\nsmtp.send({\n  from: 'mail@lsong.org',\n  to: 'hi@lsong.org',\n  subject: 'hello world',\n  body: 'This is a test message, do not reply.'\n}).then(res =\u003e console.log(res));\n```\n\nsmtp server:\n\n```js\nconst smtp = require('smtp2');\n\nconst server = smtp.createServer();\n\nserver.on('client', client =\u003e {\n  console.log('Client connected');\n  client.on('QUIT', () =\u003e {\n    console.log('Client disconnect');\n  });\n});\n\nserver.on('message', message =\u003e {\n  console.log('Incoming Message:', message);\n});\n\nserver.listen(2525);\n```\n\n### Contributing\n- Fork this Repo first\n- Clone your Repo\n- Install dependencies by `$ npm install`\n- Checkout a feature branch\n- Feel free to add your features\n- Make sure your features are fully tested\n- Publish your local branch, Open a pull request\n- Enjoy hacking \u003c3\n\n### MIT\n\nThis work is licensed under the [MIT license](./LICENSE).\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2Fnode-smtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsongdev%2Fnode-smtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2Fnode-smtp/lists"}