Static Mail Sender Configurator
v0.10.1Jakub Bouček · 2021年7月2日 上架
Simple & static configure WordPress internal mailer sender's (From:) address. This plugin is very simple, it doesn't using database or a …
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 1,428
- 最近更新
- 2026年11月3日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4.0+
贡献者
Simple & static configure WordPress internal mailer sender’s (From:) address. This plugin is very simple, it doesn’t using database or another storage – you just add the constant WP_MAIL_FROM to wp-config.php or to Environment variable. Plugin is define this configuration with major priority to set configuration as the default value, that means any orher plugin with lower priority applied afterwards can simple rewrite that value.
Example
Using constant in `wp-config.php` file:
Add this row to wp-config.php file:
const WP_MAIL_FROM = 'noreply@wordpress.domain.tld';
You can define sender’s name too by format:
"Name Lastname" <noreply@wordpress.domain.tld>
Using Environment variable:
Same principe is available by define Environment variable WP_MAIL_FROM.