2007-07-20, 01:08 AM
Hello,
I have installed the MyBB recently.
The email doesn't seem to work. I tried as a test the following code (from this forum)
<?php
$email = "mail";
$t = mail("mail","hello","does this send?","mail");
echo $email;
if($t) {
echo "sent";
} else {
echo "not sent";
}
?>
It does not work("not sent").
However if I add a "From:" as follows:
$t = mail("mail","hello","does this send?","From: mail");
then I get the e-mail.
Any suggestions based on the above, what I should do for email from MyBB to work?
Thanks
I have installed the MyBB recently.
The email doesn't seem to work. I tried as a test the following code (from this forum)
<?php
$email = "mail";
$t = mail("mail","hello","does this send?","mail");
echo $email;
if($t) {
echo "sent";
} else {
echo "not sent";
}
?>
It does not work("not sent").
However if I add a "From:" as follows:
$t = mail("mail","hello","does this send?","From: mail");
then I get the e-mail.
Any suggestions based on the above, what I should do for email from MyBB to work?
Thanks