MyBB Community Forums

Full Version: Activation email not sending
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
the email is set to '[email protected]'
please paste the source you put in the file... but replace the mail for privacy Wink
<?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';
print_r(error_get_last());
}
?>
hmmm dont see any failure in your code .... its working for me, try change
$to = '[email protected]';
to
$to = "[email protected]";
Ok, I changed it and it works fine.
Does this mean I add this to the code for MyBB?
Any updates on how to fix this?
(Sorry for the bump + double post, I just need a fix Undecided )
Pages: 1 2