Mail Caesar!

描述

Redirect all email sent by WordPress to the admin’s email address.

When activated, this plugin will send all email sent by WordPress to the admin email address instead of the intended recipient.

It uses the wp_mail filter to modify the “to” address for all email sent by WordPress. When active, all email sent through WordPress’s wp_mail() function is rerouted to the admin email address as configured under “Settings – General”.

One of its uses is to allow the creation of new users during testing. WordPress requires user email addresses to be unique, and sends confirmation messages to these addresses. Using this plugin, you can use fake addresses, and still receive the activation links.

安装

  1. Install and activate using the ‘Plugins’ menu in WordPress
  2. Check that the admin email address is properly configured under ‘Settings’

The plugin does not have any settings.

常见问题

Will the original adressee receive the email?

No. This plugin replaces the address the email is sent to. No email is sent to the original recipient.

Will this plugin affect all emails sent from WordPress?

The plugin uses a filter in WordPress’s wp_mail() function. Any mail sent through PHP directly, or through a different email function will not be affected. All notification emails sent by WordPress use wp_mail(). Newsletter plugins often use another way of sending email.

Should I use this plugin on my live website?

Probably not. It is intended to be used during testing and for troubleshooting. In most cases you’ll want email to be sent to the users requesting them.

评价

2020年4月3日
I love plugins which you install and just use without the hassle to go through a bunch of confusing options and settings. This plugin is such a lean and clean little helper, eg. if you need to test functionality for a new website and don't want the mail to be sent to your client. Bonus for the superb plugin name! 👍🏻
阅读所有1条评价

贡献者及开发者

“Mail Caesar!” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Mail Caesar!”插件已被翻译至3种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Mail Caesar!”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2.1 (2020-08-19)

  • Minor bugfixes

1.2 (2020-04-03)

  • Added the original recipient’s email address to the email’s subject

1.1 (2020-03-14)

  • Use the network admin email address when network-activated on multisite

1.0 (2019-09-30)

  • Initial release