{"id":16994674,"url":"https://github.com/dandv/mandrill","last_synced_at":"2026-05-09T13:17:48.460Z","repository":{"id":35053355,"uuid":"39184528","full_name":"dandv/mandrill","owner":"dandv","description":"DEPRECATED: just use the Mandrill NPM package, or better yet, switch to SparkPost","archived":false,"fork":false,"pushed_at":"2015-08-02T08:42:02.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T06:28:12.178Z","etag":null,"topics":["mandrill-api-wrapper","meteor"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"PKISolutions/pkix.net","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dandv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-16T08:01:52.000Z","updated_at":"2017-02-01T00:55:16.000Z","dependencies_parsed_at":"2022-09-16T05:14:26.035Z","dependency_job_id":null,"html_url":"https://github.com/dandv/mandrill","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dandv%2Fmandrill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dandv%2Fmandrill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dandv%2Fmandrill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dandv%2Fmandrill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dandv","download_url":"https://codeload.github.com/dandv/mandrill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244913005,"owners_count":20530769,"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":["mandrill-api-wrapper","meteor"],"created_at":"2024-10-14T03:46:13.766Z","updated_at":"2026-05-09T13:17:43.428Z","avatar_url":"https://github.com/dandv.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mjmasn:mandrill\n\nThis Meteor package wraps the ```mandrill-api``` NPM package. As it is a fairly simple wrap of the NPM package, I have only tested the messages.send function but all functions should all work as expected. If you do discover any issues please open a new issue or submit a PR.\n\n## Installation\nThis package is available at https://atmospherejs.com/mjmasn/mandrill. To install use:\n\n```meteor add mjmasn:mandrill```\n\n## Environment Variables\nThis package requires ```MANDRILL_API_KEY``` to be set in your environment variables and will throw an error if it is not set. You can obtain an API key by logging in at https://mandrillapp.com/settings/index and clicking 'New API Key'.\n\n## Usage\nUsage for this package is slightly different to the NPM package. In plain Node you would do:\n```javascript\nMandrill.messages.send(options, function (result) {\n    // Success function\n}, function (err) {\n    // Error function\n});\n```\nIn Meteor you do:\n```javascript\ntry {\n    var result = Mandrill.messages('send', options);\n}\ncatch (err) {\n    // Handle any errors\n}\n```\n\nSo the basic format is ```Mandrill.CATEGORY(METHOD, options)``` where CATEGORY is one of:\n\n```users``` ```messages``` ```tags``` ```rejects``` ```whitelists``` ```senders``` ```urls``` ```templates``` ```webhooks``` ```subaccounts``` ```inbound``` ```exports``` ```ips``` ```metadata```\n\nand METHOD is the method you want to call, for example ```'sendTemplate'```. See the [Mandrill API Documentation](https://mandrillapp.com/api/docs/index.nodejs.html) for the available methods and options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdandv%2Fmandrill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdandv%2Fmandrill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdandv%2Fmandrill/lists"}