{"id":36252158,"url":"https://github.com/staempfli/magento2-module-mailcatcher","last_synced_at":"2026-01-11T07:01:28.634Z","repository":{"id":25692601,"uuid":"104861497","full_name":"staempfli/magento2-module-mailcatcher","owner":"staempfli","description":"Magento 2 Module to catch, log and redirect emails on Local and Dev Servers","archived":false,"fork":false,"pushed_at":"2022-05-05T17:06:19.000Z","size":166,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-07-17T18:11:18.302Z","etag":null,"topics":["magento2","magento2-extension"],"latest_commit_sha":null,"homepage":null,"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/staempfli.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":"2017-09-26T08:59:53.000Z","updated_at":"2022-07-03T01:13:00.000Z","dependencies_parsed_at":"2022-07-25T14:52:04.015Z","dependency_job_id":null,"html_url":"https://github.com/staempfli/magento2-module-mailcatcher","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/staempfli/magento2-module-mailcatcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staempfli%2Fmagento2-module-mailcatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staempfli%2Fmagento2-module-mailcatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staempfli%2Fmagento2-module-mailcatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staempfli%2Fmagento2-module-mailcatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staempfli","download_url":"https://codeload.github.com/staempfli/magento2-module-mailcatcher/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staempfli%2Fmagento2-module-mailcatcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28296941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T04:44:51.577Z","status":"ssl_error","status_checked_at":"2026-01-11T04:44:44.232Z","response_time":60,"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":["magento2","magento2-extension"],"created_at":"2026-01-11T07:01:12.551Z","updated_at":"2026-01-11T07:01:28.629Z","avatar_url":"https://github.com/staempfli.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento 2 Mail Catcher\n\n[![Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.](http://www.repostatus.org/badges/latest/abandoned.svg)](http://www.repostatus.org/#abandoned)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/3711ac6ffa0b44848de375b54ae21c0d)](https://www.codacy.com/app/Staempfli/magento2-module-mailcatcher?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=staempfli/magento2-module-mailcatcher\u0026amp;utm_campaign=Badge_Grade)\n[![Code Climate](https://codeclimate.com/github/staempfli/magento2-module-mailcatcher/badges/gpa.svg)](https://codeclimate.com/github/staempfli/magento2-module-mailcatcher)\n[![Issue Count](https://codeclimate.com/github/staempfli/magento2-module-mailcatcher/badges/issue_count.svg)](https://codeclimate.com/github/staempfli/magento2-module-mailcatcher)\n\nMagento 2 module to catch, log and redirect emails on local and stage enviroments.\n\nFeatures:\n\n* Catch and log all emails\n* Whitelist domains or emails that you do not want to catch (Merchant domain, developer emails)\n* Redirect catched emails to a [trash-mail](https://www.trash-mail.com/inbox/) instead of logging them\n\n## Introduction\n\nAlthough the recommended way to catch emails is using a mailCatcher like [MailHog](https://github.com/mailhog/MailHog), this is not always easy to setup in all environments and configurations:\n\nFacts:\n\n* Not all your developers have same local systems and configurations\n* Stage servers might use different mail transfer agents (sendmail, postfix)\n* Projects might use the merchant STMP server for sending emails\n* Merchants want to test how real emails are sent and not use a catching Web UI\n\nIf you have these problems, that's when this module comes in handy. This module catches emails before they reach the transfer agent. No extra tools needed for your projects, simply install and enable it on Magento Admin.\n\n\n## Installation\n\n```\n$ composer require \"staempfli/magento2-module-mailcatcher\":\"~1.0\"\n```\n\n## Usage\n\n`Magento Admin \u003e Stores \u003e Configuration \u003e Staempfli \u003e Mail Catcher`\n\n![Mail Catcher Admin Configuration](docs/img/mailcatcher_admin.png)\n\n## Disclaimer\n\nThis module uses a plugin on `Magento\\Framework\\Mail\\TransportInterfaceFactory::create()`, watch out that your code or other modules installed do not overrite that method.\n\nSee: [etc/di.xml](etc/di.xml)\n\n## Tests\n\nIn order to prove that the mail catcher always work, we recommend you to run included integration tests on your CI environment. Add this into your `dev/tests/integration/framework/phpunit.xml`:\n\n```\n\u003cdirectory suffix=\"Test.php\"\u003e\u0026magentoDir;/vendor/staempfli/magento2-module-mailcatcher/Test/Integration\u003c/directory\u003e\n```\n\n## Prerequisites\n\n- PHP \u003e= 7.0.*\n- Magento \u003e= 2.1.*\n\n## Developers\n\nJuan Alonso, and all other [contributors](https://github.com/staempfli/magento2-module-mailcatcher/contributors)\n\n## License\n\n[Open Software License (\"OSL\") v. 3.0](https://opensource.org/licenses/OSL-3.0)\n\n## Copyright\n\n(c) 2017, Stämpfli AG\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaempfli%2Fmagento2-module-mailcatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaempfli%2Fmagento2-module-mailcatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaempfli%2Fmagento2-module-mailcatcher/lists"}