saldanhakun/magento2-mailtrap
Composer 安装命令:
composer require saldanhakun/magento2-mailtrap
包简介
Enable mail testing through Mailtrap.io in Magento CE 2.4+
README 文档
README
Integrate mailtrap.io with Magento CE 2.4+ to simplify e-mail testing.
Note: At this version, the integration uses the SMTP interface of MailTrap, not the API.
Requirements
- Magento Community Edition 2.4+ (tested with 2.4.7-p4)
- PHP 8.0 (tested with 8.3)
- Mailtrap Account, either free or paid
- Mailtrap agent SMTP username
- Mailtrap agent SMTP password
How to install
After installing Magento 2, run the following commands from your Magento 2 root directory:
composer require saldanhakun/magento2-mailtrap
php bin/magento module:enable Saldanhakun_Mailtrap
php bin/magento setup:di:compile
php bin/magento cache:flush
Using a specific version
This project is published on GitHub and syncronized with Packagist.org, so on every version update I release composer will be able to update it automatically. Semantic version naming will be adopted, so it should be safe to allow version bumping and even minor/major updates.
You may test the pre-release with composer require saldanhakun/magento2-mailtrap:dev-master.
You may also lock or profere a specfific version, depending on your project stability requirements, such as composer req saldanhakun/magento2-mailtrap:=1.1.0 or composer req saldanhakun/magento2-mailtrap:^1.1
It is my intent to keep the 1.x branch compatible with Magento CE 2.4 and Magento CE 2.5 (no support, yet).
Perhaps I shall implement backward support for 2.3, if you need it, get in touch.
Using with other Magento solutions
This plugin was only tested in Magento Community, so I don't known if it works on Adobe Commerce, either on premises or cloud. If you find out it does, please notify me. Or get in touch so we can work together in making it compatible.
Contribute
Feel free to fork and contribute to this module. Simply create a pull request and we'll review and merge your changes to master branch. The original project seemed abandoned and we needed a Magento 2.4+ compatible integration with Mailtrap.
About Uttara E-commerce
Uttara is a e-commerce consultant agency located in Brazil. For more information, please visit uttara.com.br.
About Codepeak
Codepeak is a Magento consultant agency located in Sweden. For more information, please visit codepeak.se. This project is a fork of the (abandoned) codepeak/magento2-mailtrap published on GitHub.
saldanhakun/magento2-mailtrap 适用场景与选型建议
saldanhakun/magento2-mailtrap 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 7 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 03 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 saldanhakun/magento2-mailtrap 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 saldanhakun/magento2-mailtrap 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-03-16