Posts: 2,599
Threads: 71
Joined: Apr 2012
Reputation:
245
2014-06-21, 05:51 PM
1. create a test file and check the mail function as stated here:
http://docs.mybb.com/Help-Mail.html
2. make sure your host support php mail. also confirm that they support mail from/to non domain email addresses. that is few hosts require that one of the email address (either from or to) to be from the domain.
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t Forget to “Mark as Solved” after the fix
Posts: 475
Threads: 26
Joined: Mar 2013
Reputation:
13
2014-06-21, 09:55 PM
I agree with mad, godaddy is one of the sites that declines mail for odd reasons. I am pretty sure you need to contact the host and tell them I need mail to be enabled in php.ini. Otherwise here: give this a shot
<?php error_reporting(E_ALL); $to = '[email protected]'; if(mail($to, 'Testing mail', 'This is a mailing test to see if PHP mail works.')) { echo 'Mail was sent by PHP'; } else { echo 'PHP could not send the mail'; } ?>
Upload this code to a random document with the extension.php so example: testing.php
If it does send it should say Mail was sent by PHP otherwise if it don't you need to contact them to edit the php.ini unless you have access too it.
Hey Everyone I am back! I will slowly be in progression of helping you all with your questions!