2013-12-14, 09:49 AM
Hi,
i recently installed mybb on http://teamsik.cu.cc/forum/.
But when I create a test user, I found that my forum is not sending any email. I tried both smtp and php mail option.
In smtp mode it is saying :
Then I test my php mail using these two script:
But when i go with mybb, it isn't working.
I tried
And one more thing i should mention that my hosting provider said that both mail functions are running smoothly. There is no server side issue(s).
Kindly help me!!!
i recently installed mybb on http://teamsik.cu.cc/forum/.
But when I create a test user, I found that my forum is not sending any email. I tried both smtp and php mail option.
In smtp mode it is saying :
Quote:Unable to connect to the mail server with the given details.<br /><br />110: Connection timed out
Then I test my php mail using these two script:
<?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';
}
?>
and:<?php
$to = '[email protected]';
$subject = 'A subject';
$message = 'This is a test';
$headers = 'From: [email protected]' . "\r\n" .
'Reply-To: [email protected]' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
It successfully send emails.But when i go with mybb, it isn't working.
I tried
ini_set("sendmail_from", " [email protected] ");
in function.php and below code as Additional Parameters. But no results.Quote:From: [email protected]\nReply-To: [email protected]\nX-Mailer: PHP/5.3.24
And one more thing i should mention that my hosting provider said that both mail functions are running smoothly. There is no server side issue(s).
Kindly help me!!!