{"id":20046397,"url":"https://github.com/aneldev/dyna-email-sender","last_synced_at":"2025-10-29T14:02:21.584Z","repository":{"id":40794449,"uuid":"238267916","full_name":"aneldev/dyna-email-sender","owner":"aneldev","description":"Send emails from nodeJs","archived":false,"fork":false,"pushed_at":"2022-12-11T23:17:32.000Z","size":307,"stargazers_count":0,"open_issues_count":22,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T23:41:30.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/aneldev.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":"2020-02-04T17:46:40.000Z","updated_at":"2021-01-08T09:44:56.000Z","dependencies_parsed_at":"2023-01-27T09:01:21.198Z","dependency_job_id":null,"html_url":"https://github.com/aneldev/dyna-email-sender","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-email-sender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-email-sender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-email-sender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-email-sender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aneldev","download_url":"https://codeload.github.com/aneldev/dyna-email-sender/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241476435,"owners_count":19968916,"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-13T11:23:34.048Z","updated_at":"2025-10-29T14:02:21.578Z","avatar_url":"https://github.com/aneldev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nSend emails easily! _From Node.js_\n\nIn Typescript.\n\n# Example\n```\nimport {DynaEmailSender} from \"dyna-email-sender\";\n\nconst sender = new DynaEmailSender({\n  host: 'smtp.ethereal.email',\n  port: 587,\n  tls: false,\n  username: 'info@my-company.com',\n  password: 'pass-matters',\n  allowInvalidCertificates: false,\n});\n\nsender.send({\n  fromTitle: 'Info My Company 👻',       \n  fromAddress: 'info@my-company.com',    \n  toAddress: 'lola@foo.co',             // or array of addresses\n  subject: 'Hello ✔', \n  text: 'Hello world?',\n  html: '\u003cb\u003eHello world?\u003c/b\u003e',\n})\n  .catch((error: IError) =\u003e {\n    console.log('email send failed', {error});\n  });\n\n```\n\n# Methods\n\n## send(email: IEmail): Promise\u003cvoid\u003e\n\n```\ninterface IEmail {\n  fromTitle: string;\n  fromAddress: string;\n  toAddress: string | string[];\n  subject: string;\n  text: string;\n  html: string;\n}\n```\n\n## close(): void\n\nCloses any open connection\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneldev%2Fdyna-email-sender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneldev%2Fdyna-email-sender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneldev%2Fdyna-email-sender/lists"}