{"id":19714648,"url":"https://github.com/quavedev/email-postmark","last_synced_at":"2025-04-29T19:33:03.863Z","repository":{"id":40695582,"uuid":"412291188","full_name":"quavedev/email-postmark","owner":"quavedev","description":null,"archived":true,"fork":false,"pushed_at":"2024-09-25T07:12:38.000Z","size":14,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-15T05:17:06.343Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quavedev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-10-01T01:55:45.000Z","updated_at":"2024-09-25T07:12:47.000Z","dependencies_parsed_at":"2023-11-08T13:25:26.708Z","dependency_job_id":"1f83467c-8628-4574-8a21-ecd6817b5f17","html_url":"https://github.com/quavedev/email-postmark","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/quavedev%2Femail-postmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Femail-postmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Femail-postmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Femail-postmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quavedev","download_url":"https://codeload.github.com/quavedev/email-postmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251569676,"owners_count":21610600,"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-11T22:34:34.913Z","updated_at":"2025-04-29T19:33:03.571Z","avatar_url":"https://github.com/quavedev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quave:email-postmark\n\n### MIGRATED TO https://github.com/quavedev/meteor-packages/tree/main/email-postmark\n\n`quave:email-postmark` is a Meteor package that provides a plug-and-play integration with [Postmark](https://postmarkapp.com/).\n\n## Why\n\nIt is designed to simplify the process of sending emails with Meteor.\n\nWe are using the `email` package from Meteor.\n\nWe believe we are not reinventing the wheel in this package but what we are doing is like putting together the wheels in the vehicle :).\n\n## Installation\n\n```sh\nmeteor add quave:email-postmark\n```\n\n## Usage\n\n### Configuration\n\nYou just need to configure your authentication data in the settings if you just want to use Postmark as provider for Meteor emails. \n\n```json\n{\n  \"packages\": {\n    \"quave:email-postmark\": {\n      \"from\": \"noreply@yourdomain.com\",\n      \"apiToken\": \"tttttttt-1111-2222-3333-tttttttttttt\"\n    }\n  }\n}\n```\n\nOr you need to set the `from` here in the settings or you need to always call the email manually and inform the from in the props.\n\n### Code usage\n\nIf you want to use our code to send emails directly you can also call like below:\n\n```javascript\nimport { sendEmail } from 'meteor/quave:email-postmark';\n\nMeteor.methods({\n  newEmail({ to, subject, content }) {\n    sendEmail({\n      to,\n      subject,\n      content,\n    })\n      .then(() =\u003e {\n        console.log(`Email sent to ${to}`);\n      })\n      .catch(error =\u003e {\n        console.error(`Error sending email to ${to}`, error);\n      });\n  }\n});\n```\n\nYou can provide the `from` as well in the `sendEmail` function.\n\n## Limitations\n\nMeteor `email` package needs to be in the version 2.2 or above. This corresponds to Meteor version 2.4.\n\n### License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquavedev%2Femail-postmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquavedev%2Femail-postmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquavedev%2Femail-postmark/lists"}