wp-blueprint/plugin-mailer
Composer 安装命令:
composer require wp-blueprint/plugin-mailer
包简介
Lightweight WP Blueprint plugin that provides a reusable and straightforward approach to managing SMTP settings and improves email sending functionality within WordPress.
README 文档
README
This plugin provides an easy-to-use settings page where you can configure your SMTP host, authentication, port, username, password, and security type. It also allows you to send test emails from your WordPress dashboard to ensure your SMTP settings are correctly configured.
Features
- Easy SMTP settings configuration: Simply enter your SMTP host, authentication, port, username, password, and security type in the 'Mailer Settings
- Test Email functionality:: Verify your SMTP settings by sending a test email straight from your WordPress dashboard.
Requirements
- PHP: This plugin requires PHP 7.4 or higher.
- WordPress: A WordPress installation of 5.6 or higher is required.
- .env file: Your WordPress installation must be configured to read SMTP settings from a .env file.
- Composer: The plugin is installable via Composer from Packagist, but can also be manually downloaded and installed.
Installation
To install this plugin using Composer, simply run the following command in your terminal:
composer require wp-blueprint/plugin-mailer
After the plugin has been downloaded by Composer, you need to activate it. You can do this by going to the Plugins page in your WordPress admin dashboard, locating the plugin, and clicking "Activate".
Usage
- After activating the plugin, navigate to the 'WPBlueprint Plugins' menu and select 'Mailer'.
- Enter your SMTP details and save the settings.
- You can send a test email from the 'Mailer' page to ensure that your SMTP settings are correctly configured.
Backlog
Here are some features and improvements planned for future releases:
- User Interface: Improve the user interface for better usability.
- Localization: Provide translations for the admin interface to support various languages.
- Integration: Consider integration with popular forms plugins to make your plugin more versatile.
- Multiple Configuration Features: Allow the creation of multiple "SMTP profiles", each with their own host, port, username, password, and other settings.
- Secure Credential Storage: Improve the security of SMTP credential storage, possibly integrating with secure WordPress options or other secure methods for storing sensitive data.
Development
Use the following scripts to aid in development:
composer run lint:wpcs: WPCS Lintcomposer run lint:wpcs:fix: WPCS Fixcomposer run lint:php: PHP Lint
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to help improve this plugin.
Please follow the WordPress Coding Standards and ensure that your changes are well-documented. Use the provided npm scripts for linting your PHP code before submitting.
License
This plugin is licensed under the GNU General Public License v3.0.
wp-blueprint/plugin-mailer 适用场景与选型建议
wp-blueprint/plugin-mailer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 181 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 06 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 wp-blueprint/plugin-mailer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wp-blueprint/plugin-mailer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 181
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2023-06-30