{"id":25665689,"url":"https://github.com/2020leon/sendmail2","last_synced_at":"2026-04-15T14:32:55.299Z","repository":{"id":54481282,"uuid":"485975903","full_name":"2020leon/sendmail2","owner":"2020leon","description":"Send Mail to Somewhere You Want","archived":false,"fork":false,"pushed_at":"2022-12-19T13:01:44.000Z","size":716,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T20:49:47.231Z","etag":null,"topics":["email","email-sender","javascript","mail","mail-sender","mailer","node","nodejs","npm","npm-package","send","sendemail","sendmail","smtp","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/2020leon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-04-26T23:13:12.000Z","updated_at":"2023-07-12T07:54:59.000Z","dependencies_parsed_at":"2023-01-29T21:45:49.018Z","dependency_job_id":null,"html_url":"https://github.com/2020leon/sendmail2","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/2020leon/sendmail2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2020leon%2Fsendmail2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2020leon%2Fsendmail2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2020leon%2Fsendmail2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2020leon%2Fsendmail2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2020leon","download_url":"https://codeload.github.com/2020leon/sendmail2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2020leon%2Fsendmail2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31845715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["email","email-sender","javascript","mail","mail-sender","mailer","node","nodejs","npm","npm-package","send","sendemail","sendmail","smtp","typescript"],"created_at":"2025-02-24T07:28:39.736Z","updated_at":"2026-04-15T14:32:55.269Z","avatar_url":"https://github.com/2020leon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sendmail2\n\nSendmail2 - Send Mail to Somewhere You Want\n\nSendmail2 is a package that you can create a transport of\n[nodemailer][nodemailer-npm](^6.6.1) or send emails directly.\n\n## Installation\n\nYou can install Sendmail2 using `npm`, `yarn`, or `pnpm`.\n\n```sh\n# npm\nnpm i sendmail2\n# yarn\nyarn add sendmail2\n# pnpm\npnpm add sendmail2\n```\n\n## Usage\n\n- Create a transport of nodemailer\n\n```typescript\nimport * as sendmail2 from 'sendmail2';\nimport nodemailer from 'nodemailer';\n\nconst transport = new sendmail2.Transport();\nconst transporter = nodemailer.createTransport(transport);\ntransporter.sendMail({\n  from: 'foo@example.com',\n  to: 'bar@example.com',\n  subject: 'Sendmail2',\n  text: 'Send mail 2 u!',\n});\n```\n\n- Send an email directly\n\n```typescript\nimport * as sendmail2 from 'sendmail2';\n\nconst sender = new sendmail2.Sender();\nsender.send({\n  from: 'foo@example.com',\n  to: 'bar@example.com',\n  subject: 'Sendmail2',\n  text: 'Send mail 2 u!',\n});\n```\n\n## Inspiration\n\nThe package is inspired by [sendmail][sendmail-npm].\n\n## Contributing\n\nContributing is welcome!\n\n## License\n\nMIT\n\n## Links\n\n[GitHub](https://github.com/2020leon/sendmail2),\n[npm](https://www.npmjs.com/package/sendmail2),\n[yarn](https://yarnpkg.com/package/sendmail2)\n\n[nodemailer-npm]: https://www.npmjs.com/package/nodemailer\n[sendmail-npm]: https://www.npmjs.com/package/sendmail\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2020leon%2Fsendmail2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2020leon%2Fsendmail2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2020leon%2Fsendmail2/lists"}