Created
November 26, 2014 10:14
-
-
Save CTimmerman/38663f5ae07702e94159 to your computer and use it in GitHub Desktop.
Testing WordPress email settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('wp-load.php'); // Required by all WordPress functions. | |
wp_mail("email", "subject", "message"); // Sends message to email address. | |
phpinfo(); // Shows all PHP settings, including SMTP server. | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment