{"id":22075782,"url":"https://github.com/vallic/mailersend","last_synced_at":"2025-09-22T18:26:43.426Z","repository":{"id":167731603,"uuid":"643345048","full_name":"Vallic/mailersend","owner":"Vallic","description":"MailerSend integration module for Drupal mail system.","archived":false,"fork":false,"pushed_at":"2023-05-20T22:41:54.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"1.0.x","last_synced_at":"2025-01-29T03:37:23.421Z","etag":null,"topics":["drupal-module","mail","mailersend","transactional-emails"],"latest_commit_sha":null,"homepage":"https://www.drupal.org/project/mailersend","language":"PHP","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/Vallic.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-20T21:31:00.000Z","updated_at":"2023-05-20T21:37:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"104401df-efee-455f-bbd1-5b85f626d067","html_url":"https://github.com/Vallic/mailersend","commit_stats":null,"previous_names":["vallic/mailersend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fmailersend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fmailersend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fmailersend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fmailersend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vallic","download_url":"https://codeload.github.com/Vallic/mailersend/tar.gz/refs/heads/1.0.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245162194,"owners_count":20570692,"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":["drupal-module","mail","mailersend","transactional-emails"],"created_at":"2024-11-30T22:11:12.557Z","updated_at":"2025-09-22T18:26:38.349Z","avatar_url":"https://github.com/Vallic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"CONTENTS OF THIS FILE\n---------------------\n * Introduction\n * Requirements\n * Installation\n * Configuration\n * Send Test Email\n * HTML Emails\n * Advanced options\n\nINTRODUCTION\n------------\n\nThe MailerSend module integrates Drupal mail system with MailerSend,\na transactional email delivery API. This module allows transactional emails\nfrom Drupal to be sent with MailerSend API.\n\nLearn more at [mailersend.com](https://www.mailersend.com/)\n\n\nREQUIREMENTS\n------------\nThis module requires the [Mail System module](https://drupal.org/project/mailsystem)\n\nIt also relies upon the [MailerSend PHP SDK](https://github.com/mailersend/mailersend-php)\n\n\nINSTALLATION\n------------\n\n * Install as you would normally install a contributed Drupal module,\nideally managed by [Composer](https://www.drupal.org/docs/extending-drupal/installing-modules#s-add-a-module-with-composer)\n\n * Enable the module from Admin » Extend or with\n`drush en mailersend`.\n\nCONFIGURATION\n-------------\n\n1. [Acquire a MailerSend API key](https://app.mailersend.com/domains)\n2. **Set MailerSend API Key** in Admin » Configuration » Web Services\n(`admin/config/services/mailersend`).\n\nRemaining options:\n\n * Queue Outgoing Messages\n   - Don't send mail directly, but adds it to the queue. During cron X number of\n    items from queue is going to be processed and mails sent.\n\n * From address\n    - The email address that emails should be sent from\n\n * HTML mails\n   - Add support to send HTML mails without any other module\n\n * HTML format\n   - An input format to apply to the message body\n     before sending emails.\n\n * Analytics Options\n    - Track opens: Toggles open tracking for messages\n    - Track clicks: Toggles click tracking for messages\n    - Track content: The HTML of all sent emails will be stored in the email\n       activity (only applicable for paid accounts).\n\n3. **Update Mail System settings**:\n  - MailerSend Mail interface is enabled by using the\n    [Mail System module](http://drupal.org/project/mailsystem).\n  - Go to the [Mail System configuration page](admin/config/system/mailsystem) to start\n    sending emails through MailerSend. Once you do this, you'll see\n    a list of the module keys that are using MailerSend listed near\n    the top of the MailerSend settings page.\n  - Once you set the site-wide default (and any other listed module classes)\n    to MailerSend Mailer, your site will immediately start using\n    MailerSend to deliver all outgoing email.\n  - Module/key pairs: The key is optional, not every module or email uses a\n    key. That is why on the mail system settings page, you may see some modules\n    listed without keys.\n    For more details about this, see the mail system configuration page\n    (admin/config/system/mailsystem).\n\nSEND TEST EMAIL\n---------------\nThe Send Test Email tab sends an email manually, through the MailerSend\nand the configured options.\n\nHTML EMAILS\n---------------\nWhen you enable HTML emails to be sent via MailerSend integration,\ndefault template is located inside folder templates called\n`mailersend-message.html.twig`.\n\nBest practice would be that you copy this template in your theme\nand adjust styling according to your needs.\n\n\nADVANCED OPTIONS\n----------------\n\n1. Altering MailerSend parameters via event subscriber\nOn each mail sent event `MailerSendEmailEvent` is fired.\nVia event subscriber you can alter parameters for MailerSend before call\nis made to MailerSend API.\n\nSee official PHP SDK for more detailed information what options are available\nhttps://github.com/mailersend/mailersend-php#email-api\n\n2. MailerSend templates and personalization\nThere is no out of box solution provided. You can via `MailerSendEmailEvent`\nsent template id or personalization variables.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallic%2Fmailersend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvallic%2Fmailersend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallic%2Fmailersend/lists"}