Quickly disable all plugins in WordPress.
This plugin needs to go into the wp-content/mu-plugins/ directory. Provided you have SSH access to the server where WordPress lives, you can do this:
cd $SITE_ROOT/wp-content/mu-plugins| <?php | |
| /** | |
| * This file can be used to validate that the WordPress wp_mail() function is working. | |
| * To use, change the email address in $to below, save, and upload to your WP root. | |
| * Then browse to the file in your browser. | |
| * | |
| * For full discussion and instructions, see the associated post here: | |
| * http://b.utler.co/9L | |
| * | |
| * Author: Chad Butler |