Title: Custom Recovery Mode Email
Author: Jairo Ochoa
Published: <strong>26 Tháng 12, 2019</strong>
Last modified: 20 Tháng 10, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/custom-recovery-mode-email/assets/banner-772x250.jpg?rev=2967978)

![](https://ps.w.org/custom-recovery-mode-email/assets/icon.svg?rev=3673227)

# Custom Recovery Mode Email

 Bởi [Jairo Ochoa](https://profiles.wordpress.org/jairoochoa/)

[Tải về](https://downloads.wordpress.org/plugin/custom-recovery-mode-email.2.0.6.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/custom-recovery-mode-email/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/custom-recovery-mode-email/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/custom-recovery-mode-email/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/custom-recovery-mode-email/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/custom-recovery-mode-email/)

## Mô tả

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme
causes a fatal error on your site, and notifies you with an automated email. Sometimes
the message lands in the wrong inbox, or with a sender name that does not match 
your brand.

With _Custom Recovery Mode Email_ you can:

 * Set one or more recipient addresses for the Recovery Mode email when a Fatal 
   Error occurs.
 * Customize the From name and email address used by WordPress system emails.
 * Adjust the rate limit between Recovery Mode emails (in days, hours or minutes).
 * Toggle individual administrative notifications: password changes, new user registrations,
   and plugin/theme auto-update results (success and failure separately).
 * Configure everything network-wide on Multisite, with optional per-site overrides
   for the recipient and the sender.

The plugin ships with a redesigned settings page that organises every option into
clear, focused cards, making it easy to find what you need at a glance.

### Translations

 * English
 * Español (España)
 * Euskara (thanks to @garridinsi)
 * Galego
 * Svenska (thanks to @tobifjellner)

_Note:_ Please contact us if you would like to help translating the plugin into 
your language.

## Ảnh màn hình

[⌊Custom Recovery Mode Email Settings  /assets/screenshot-1.png⌉⌊Custom Recovery
Mode Email Settings  /assets/screenshot-1.png⌉[

Custom Recovery Mode Email Settings /assets/screenshot-1.png

[⌊Custom Recovery Mode Email (Network Settings) - part 1   /assets/screenshot-2.
png⌉⌊Custom Recovery Mode Email (Network Settings) - part 1   /assets/screenshot-
2.png⌉[

Custom Recovery Mode Email (Network Settings) – part 1 /assets/screenshot-2.png

[⌊Custom Recovery Mode Email (Network Settings) - part 2   /assets/screenshot-3.
png⌉⌊Custom Recovery Mode Email (Network Settings) - part 2   /assets/screenshot-
3.png⌉[

Custom Recovery Mode Email (Network Settings) – part 2 /assets/screenshot-3.png

[⌊Custom Recovery Mode Email Settings - subsite    /assets/screenshot-4.png⌉⌊Custom
Recovery Mode Email Settings - subsite    /assets/screenshot-4.png⌉[

Custom Recovery Mode Email Settings – subsite /assets/screenshot-4.png

## Cài đặt

 1. Upload the entire plugin folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the “Plugins” menu in WordPress (or “Network Activate”
    in Multisite).
 3. Go to **Settings  Recovery Mode Email** to access the settings page (or **Network
    Admin  Settings  Recovery Mode Email** in Multisite).

#### Minimum Requirements

 * PHP 7.4 or greater. Tested with PHP 8.2.
 * WordPress 5.2 or greater.

## Hỏi đáp

### Does it work with WordPress Multisite?

Yes. Network-wide defaults are configured from **Network Admin  Settings  Recovery
Mode Email**. Each individual site can override only the Recovery recipient and 
the mail sender from its own Settings page.

### Where do I configure the rate limit and notification toggles in Multisite?

In Multisite, the rate limit and the notification toggles (password change, auto-
updates, new users) are network-wide and live in the Network Admin page only. Individual
sites cannot override these.

### What happens if I leave a field empty?

Empty fields fall back to sensible defaults: the site administration email for the
recipient, the WordPress default sender for the From address, and the network-level
value when overriding from a single site in Multisite.

### Can I send notifications to more than one recipient?

Yes. Enter multiple addresses in the Recipient Address field separated by commas.
Recovery Mode and the enabled administrative notifications will be sent to every
valid address in the list.

### Will my existing settings be preserved when upgrading from 1.x?

Yes. The 2.0.0 release is a visual and internal overhaul, but the data schema and
option names are unchanged. Your saved configuration carries over automatically.

## Đánh giá

![](https://secure.gravatar.com/avatar/f2144c4d6df3d9d420476d6157563ea0ad18d54a9cf6b5246763654ffc5b4e66?
s=60&d=retro&r=g)

### 󠀁[Very good idea](https://wordpress.org/support/topic/very-good-idea-17/)󠁿

 [Carlos Macías](https://profiles.wordpress.org/cmacias/) 27 Tháng 12, 2019 1 trả
lời

Very easy to use

 [ Đọc tất cả 1 đánh giá ](https://wordpress.org/support/plugin/custom-recovery-mode-email/reviews/)

## Người đóng góp & Lập trình viên

“Custom Recovery Mode Email” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

 *   [ Jairo Ochoa ](https://profiles.wordpress.org/jairoochoa/)
 *   [ dixitalmedia ](https://profiles.wordpress.org/dixitalmedia/)

“Custom Recovery Mode Email” đã được dịch qua 7 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/custom-recovery-mode-email/contributors)
vì đóng góp của họ.

[Dịch “Custom Recovery Mode Email” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/custom-recovery-mode-email)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/custom-recovery-mode-email/),
check out [SVN repository](https://plugins.svn.wordpress.org/custom-recovery-mode-email/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/custom-recovery-mode-email/)
qua [RSS](https://plugins.trac.wordpress.org/log/custom-recovery-mode-email/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 2.0.6

 * Fix: fatal error “Argument #1 ($from) must be of type string, null given” when
   another plugin’s wp_mail_from filter returned an empty value (for example, when
   sending the WP Mail SMTP test email). The plugin’s mail filters now accept any
   value and never break the email.

#### 2.0.5

 * Fix: emails sent with an empty “Mail Sender Name” arrived with “WordPress” as
   the From name instead of falling back to the Site Title.
 * Fix: the “Mail Sender Name” placeholder now shows the actual Site Title (as saved
   in Settings  General) instead of the generic “Website Name” text.

#### 2.0.4

 * Feature: the Recovery Mode recipient field now accepts multiple email addresses
   separated by commas.
 * Improvement: recipient lists are sanitized, validated and deduplicated before
   being saved and passed to WordPress mail notifications.

#### 2.0.3

 * Fix: the sender email example no longer includes the “www.” prefix (other subdomains,
   e.g. erp.example.com, are kept as-is).
 * Improvement: in Multisite, the per-site sender name/email fields now show the
   actual network-level value as a placeholder when left empty, instead of a generic
   example.

#### 2.0.2

 * Fix: disabled administrative notification toggles now cancel the corresponding
   wp_mail call through pre_wp_mail instead of returning invalid or empty email 
   data.
 * Fix: successful plugin/theme update emails are reliably suppressed when their
   toggle is disabled.
 * Fix: mixed plugin/theme update results now follow the failed-update notification
   setting.
 * Compatibility: removed the remaining PHP 8-only syntax so the declared PHP 7.4
   minimum is genuinely supported.
 * Hardening: notification and recipient filters run last so later plugin callbacks
   cannot accidentally undo the configured policy.
 * Hardening: sender overrides no longer leak to a later email when another plugin
   short-circuits wp_mail.

#### 2.0.1

 * Fix: replaced PHP 8.0+/8.1+ syntax (constructor property promotion, readonly 
   properties) with PHP 7.4-compatible code, fixing a fatal parse error on servers
   running PHP 7.4.
 * Minor: small admin CSS adjustments.

#### 2.0.0

 * Feature: new “WPVulnerability Email” field below the Mail Sender Email, shown
   only when the WPVulnerability plugin is active. The plugin defines the WPVULNERABILITY_MAIL
   constant (only if not already defined elsewhere) using the configured value, 
   or a fallback of wpvulnerability@ if the field is empty.
 * Feature: new sidebar banner promoting the Dixitalmedia plugins on WordPress.org,
   dismissible independently from the FactuPress banner.
 * Multisite: the new WPVulnerability email can be set network-wide and overridden
   per site, following the same pattern as the recovery email and the sender override.
 * Major: full visual redesign of the admin settings page. Each section is now grouped
   into a card with its own icon, title and description, replacing the previous 
   flat layout.
 * Major: complete internal rewrite. The plugin now follows an OOP architecture 
   with namespaces, autoloading via Composer, a service container, and dedicated
   classes for hooks, services, settings and lifecycle. The public behavior is unchanged;
   existing settings are preserved.
 * New: hero header on top of the settings page summarising the plugin scope at 
   a glance.
 * New: dedicated card for the Notifications section, with refined toggle switches.
 * New: callout component for Multisite-context notices (replaces the previous generic
   admin notice on per-site pages).
 * New: action bar at the bottom of the form with a loading state and spinner when
   saving, plus `aria-busy` for assistive technologies.
 * Improvement: admin assets reorganised into `assets/css/` and `assets/js/` for
   clarity. Inline `<h2>` styles removed and replaced with proper CSS classes.
 * Improvement: focus states on inputs and switches now use `:focus-visible` to 
   avoid showing outlines on mouse clicks.
 * Improvement: `prefers-reduced-motion` is honoured for the save spinner animation.
 * Compatibility: tested up to WordPress 6.9.4.

#### 1.5.5

 * Hardening: added direct file access protection (ABSPATH guard) to all PHP source
   files.
 * Hardening: form action URL is now explicitly escaped on output in the Network
   Settings page.
 * Hardening: $_SERVER[‘REQUEST_METHOD’] is now properly unslashed and sanitized
   before use.
 * Hardening: exception messages in the service container are escaped before being
   passed to the runtime.
 * Cleanup: removed legacy load_plugin_textdomain() call (WordPress loads translations
   automatically since 4.6).
 * Cleanup: removed leftover error_log() debug call from the service container.
 * Compatibility: tested up to WordPress 6.9.

#### 1.5.3

 * Fix: fatal error on boot caused by argument count mismatch in UserNotificationsHooks.
 * Fix: cancelling auto-update emails no longer disables password change notifications
   as a side effect.
 * Fix: WPVulnerability sender override is now scoped to emails actually sent by
   that plugin (no longer reformats every email site-wide).
 * Fix: notification toggles are now evaluated at runtime instead of at plugin boot,
   which broke decisions in Multisite when the active site changed.
 * Fix: From name was missing on overridden emails because the From filter reset
   the override flag before the From-name filter ran.
 * Fix: Network Admin form now submits via admin-post.php (canonical pattern) and
   shows the success notice via redirect.
 * Fix: settings page no longer bypasses the repository to read the network option
   directly.
 * Fix: rate limit is clamped to a minimum of 60 seconds to prevent accidental disabling.
 * Fix: ServiceContainer no longer calls a non-existent write_log() function.
 * Cleanup: removed dead code (unused Notices class, unused repository implementations,
   no-op TextDomainLoader).
 * Improvement: admin CSS moved to assets/admin.css and properly enqueued.
 * Improvement: TextDomainLoader actually loads the textdomain on init for self-
   hosted installs.

#### 1.5.2

 * Refactor to OOP with vendor and autoload.
 * Added compatibility with WordPress Multisite.

#### 1.5.1

 * Minor fixes.

#### 1.5

 * Security updates.
 * Now the plugin also changes the recipient for password change and plugins and
   themes autoupdates emails.
 * Updated last WordPress version tested.
 * Added update email settings.
 * Added password change email setting.
 * Change sender for WPVulnerability plugin.

#### 1.1

 * Security updates.
 * Now the plugin also changes the recipient for password change and plugins and
   themes autoupdates emails.
 * Updated last WordPress version tested.

#### 1.0.4

 * Updated last WordPress version tested.

#### 1.0.3

 * Updated last WordPress version tested.

#### 1.0.2

 * Added class “regular-text” to input fields.

#### 1.0.1

 * Fix to prevent activation in WordPress Multisite to avoid site to crash.
 * Fix wrong text domain.

#### 1.0

 * Initial Release.

## Meta

 *  Phiên bản **2.0.6**
 *  Cập nhật lần cuối **4 tuần trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.8**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [Basque](https://eu.wordpress.org/plugins/custom-recovery-mode-email/), [Chinese (China)](https://cn.wordpress.org/plugins/custom-recovery-mode-email/),
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/custom-recovery-mode-email/),
   [English (US)](https://wordpress.org/plugins/custom-recovery-mode-email/), [Galician](https://gl.wordpress.org/plugins/custom-recovery-mode-email/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/custom-recovery-mode-email/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/custom-recovery-mode-email/),
   và [Swedish](https://sv.wordpress.org/plugins/custom-recovery-mode-email/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/custom-recovery-mode-email)
 * Thẻ
 * [autoupdate](https://vi.wordpress.org/plugins/tags/autoupdate/)[fatal error](https://vi.wordpress.org/plugins/tags/fatal-error/)
   [multisite](https://vi.wordpress.org/plugins/tags/multisite/)[Notifications](https://vi.wordpress.org/plugins/tags/notifications/)
   [recovery mode](https://vi.wordpress.org/plugins/tags/recovery-mode/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/custom-recovery-mode-email/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/custom-recovery-mode-email/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/custom-recovery-mode-email/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/custom-recovery-mode-email/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/custom-recovery-mode-email/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/custom-recovery-mode-email/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-recovery-mode-email/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/custom-recovery-mode-email/reviews/)

## Những người đóng góp

 *   [ Jairo Ochoa ](https://profiles.wordpress.org/jairoochoa/)
 *   [ dixitalmedia ](https://profiles.wordpress.org/dixitalmedia/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/custom-recovery-mode-email/)