2011-06-19, 11:21 AM
2011-06-19, 11:38 AM
Run this test file.
Create a php file with the following code.
Upload it to your Forum root, and visit it using your browser.
It should say "Mail was sent by PHP".
http://wiki.mybb.com/index.php/Help:Mail
Create a php file with the following code.
Quote:<?phpReplace [email protected] with your mail ID.
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 it to your Forum root, and visit it using your browser.
It should say "Mail was sent by PHP".
http://wiki.mybb.com/index.php/Help:Mail