WP PHPMailer Config
wordpress smtp config, custom sender
by Cursor AI · github.com/crayonxiaoxin/wp-phpmailer-config-plugin
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/crayonxiaoxin/wp-phpmailer-config-plugin/archive/refs/heads/main.zipWP PHPMailer Config
一个简单的 WordPress 插件,用于配置 PHPMailer,从而自定义网站发信邮箱(From Email/From Name),并可选启用 SMTP。
安装
- 将目录
wp-phpmailer-config/复制到wp-content/plugins/ - 在后台「插件」中启用 WP PHPMailer Config
- 进入「设置」→「PHPMailer Config」进行配置
功能
- Force From:强制覆盖所有
wp_mail()的 From 邮箱/名称 - Return-Path(可选):尽力设置退信地址(部分主机可能会覆盖)
- SMTP(可选):配置 Host/Port/TLS/SSL/账号/密码,通过 SMTP 发信
- 测试邮件:设置页可直接发送测试邮件验证
注意
- SMTP 密码会存储在数据库
wp_options中(明文)。请确保数据库与后台权限安全。