Test Email Delivery Issues on Your Host
If thank-you email or double-opt-in email or forgot password email is NOT getting delivered even after you configure it in dap, it likely has something to do with your host settings and does not have anything to do with DAP.
NOTE: WordPress replaces double quotes with backticks (“). Pls make sure to replace all backticks (“) below with double quote otherwise the php code will break.
To test:
Upload the following php code to a file called testmail.php file to the root of your site.
<?php
$to = “yourname@yourdomain.com”; // put in your email address here to send an email to yourself
$subject = “Test mail”;
$message = “Hello! This is a test email message.”;
$from = “you@yourdomain.com”; // SET this to point to a valid sender email address
$headers = “From:” . $from;
mail($to,$subject,$message,$headers);
echo “Mail Sent.”;
?>
NOTE:
Update the “from tag” above to point to a valid email address.
Then run the following script on your browser and see if it goes through.
http://yoursite.com/testmail.php (replace yoursite.com with the name of your site).