MyBB Community Forums

Full Version: SendMail function disappeared
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
SendMail function disappeared (no any notifications from subscribed threads) after apgrading MyBB and changing host.
I made sure that new host supports sendmail function. I checked it with this 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';
}
?>

after I ran it i got email so this function works well, you can try it by yourself Smile
http://www.vitz-omsk.com/mail.php

Looks like the problem is in mybb.
Can you browse the mybb_mailqueue table with phpMyAdmin and see if anything is inside? Also are any other mail features working (such as email activation, lost password, send email to user via profile, etc)
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0002 sec)
SQL query:
SELECT * 
FROM `mybb_mailqueue` 
LIMIT 0 , 30 

and yes, lost password, send email to user via profile are activated.
I mean, those features work? (ie. you receive the email from those features?)

Can I have a link to your board please?
I misunderstood you Shy
i don't recieve emails from that features Sad
my borad is here http://www.vitz-omsk.com
I tried to register on your forum, but I get this error:
Fatal error: Call to undefined function update_stats() in /home2/evgeniy/public_html/omsk/inc/datahandlers/user.php on line 873
Can you try to fix this first (try reupload a new version of inc/functions.php, or create an account for me and PM me the username/password?
any thoughts?
I just sent an email to myself via the profile and it worked.
well it looks like it works for everyone except me?
leealex Wrote:well it looks like it works for everyone except me?

that means it's getting stuck in your spam folder or something like that
Pages: 1 2