/wordpress-disable-email

Disables Email through wp_mail() on chosen server environments

Primary LanguagePHP

Wordpress Disable Email plugin

Disables Email through wp_mail() on current server hostname. Email will by disabled by default, so to enable the wp_mail() functionality, the given host name must be EXACT the same as current server hostname.

You can also override the $to address. A single address, or multiple, comma sperated addresses.

Note: The plugin performs a check on the $_SERVER['HTTP_HOST'] variable.