patt/smtp-mailer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

patt/smtp-mailer

Composer 安装命令:

composer require patt/smtp-mailer

包简介

SMTP Mailer

README 文档

README

=== SMTP Mailer ===
Contributors: naa986
Donate link: https://wphowto.net/
Tags: email, mail, smtp, phpmailer
Requires at least: 5.7
Tested up to: 5.7
Stable tag: 1.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Configure a SMTP server to send email from your WordPress site. Configure the wp_mail() function to use SMTP instead of the PHP mail() function.

== Description ==

[SMTP Mailer](https://wphowto.net/smtp-mailer-plugin-for-wordpress-1482) plugin allows you to configure a mail server which handles all outgoing email from your website. It takes control of the wp_mail function and use SMTP instead.

https://www.youtube.com/watch?v=7O_jgtykcEk&rel=0

=== Requirements ===

* A self-hosted website running on [WordPress hosting](https://wphowto.net/best-cheap-wordpress-hosting-1689)

=== SMTP Mailer Settings ===

* **SMTP Host**: Your outgoing mail server (e.g. smtp.gmail.com).
* **SMTP Authentication**: Whether to use SMTP authentication when sending an email (True/False). If you choose to authenticate you will also need to provide your username and password.
* **SMTP Username**: The username to connect to your SMTP server.
* **SMTP Password**: The password to connect to your SMTP server.
* **Type of Encryption**: The encryption to be used when sending an email (TLS/SSL/No Encryption. TLS is recommended).
* **SMTP Port**: The port to be used when sending an email (587/465/25). If you choose TLS the port should be set to 587. For SSL use port 465 instead.
* **From Email Address**: The email address to be used as the From Address when sending an email.
* **From Name**: The name to be used as the From Name when sending an email.

=== SMTP Mailer Test Email ===

Once you have configured the settings you can send a test email to check the functionality of the plugin.
 
* **To**: Email address of the recipient.
* **Subject**: Subject of the email.
* **Message**: Email body.

=== Known Compatibility ===

SMTP Mailer should work with any plugin that uses the WordPress Mail function. However, It has been tested with the following form and contact form plugins:

* Contact Form 7
* Jetpack Contact Form
* Visual Form Builder
* Fast Secure Contact Form
* Formidable Forms
* Contact Form by BestWebSoft

For detailed setup instructions please visit the [SMTP Mailer](https://wphowto.net/smtp-mailer-plugin-for-wordpress-1482) plugin page.

== Installation ==

1. Go to the Add New plugins screen in your WordPress Dashboard
1. Click the upload tab
1. Browse for the plugin file (smtp-mailer.zip) on your computer
1. Click "Install Now" and then hit the activate button

== Frequently Asked Questions ==

= Can I send email via SMTP from my website using this plugin? =

Yes.

= Can I use this plugin with Gmail SMTP? =

Yes.

= Can I use this plugin on any SMTP port? =

Yes.

= Can I use this plugin with Sendinblue SMTP? =

Yes.

= Can I use this plugin with Mailgun SMTP? =

Yes.

= Can I use this plugin with SendGrid SMTP? =

Yes.

= Can I use this plugin with Postmark SMTP? =

Yes.

= Can I use this plugin with Office365 SMTP? =

Yes.

= Can I use this plugin with ZohoMail SMTP? =

Yes.

== Screenshots ==

1. SMTP Mailer Settings
2. SMTP Mailer Test Email Tab

== Upgrade Notice ==
none

== Changelog ==

= 1.1.1 =
* WordPress 5.7 compatibility update.

= 1.1.0 =
* The password field can be left empty when updating the settings.

= 1.0.9 =
* Updated the code to be compatible with WordPress 5.5.

= 1.0.8 =
* SMTP Mailer is compatible with WordPress 5.3.

= 1.0.7 =
* SMTP Mailer now checks for a valid nonce when sending a test email.

= 1.0.6 =
* SMTP Mailer no longer shows the saved password in the settings.

= 1.0.5 =
* SMTP Mailer is now compatible with WordPress 4.9.

= 1.0.4 =
* Updated the mail() function by setting its minimum requirements to WordPress 4.8.
* "phpmailer_init" action hook is now enabled so it can be used by other plugins.

= 1.0.3 =
* Fixed a bug where an apostrophe in the password would cause SMTP authentication failure.

= 1.0.2 =
* SMTP Mailer now supports the "wp_mail_failed" hook which fires after a phpmailerException is caught.
* Added a new option to bypass this error on some servers where the SSL certificate is not properly configured - Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed.

= 1.0.1 =
* First commit

patt/smtp-mailer 适用场景与选型建议

patt/smtp-mailer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 813 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 04 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「wordpress」 「PATT」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 patt/smtp-mailer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 patt/smtp-mailer 我们能提供哪些服务?
定制开发 / 二次开发

基于 patt/smtp-mailer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 813
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-20