I have been trying to make a submit form on my website but it is not sending the mail. added http://renembrence.com/test.php as a test and it claims it sends the mail but I never get it. I have tried it with several emails and it didn’t work. The code in http://renembrence.com/test.php is
<?php
mail('you@yourmail.com','Test mail','The mail function is working!');
echo 'Mail sent!';
?>
Please help me out. Is the mail function not supported by 000webhost or someting? please help. Thank you
PHP mail() function should work regardless of having a paid or free hosting account, although there are a few of the free servers known to have issues.
You can test if mail function is functioning properly on your server by loading/browsing the 000webhost email test page below.
Note: Substitute ## with your actual server number (viewable in your Members Area cPanel).