MyBB Community Forums

Full Version: PHP mail works... But SMTP Doesn't :(
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have my own code for my contact us page.
All is good... Except the mail..

PHP mail works in it..
mail($mybb->settings['adminemail'], $subject, $message); 

The following mail code for SMTP doesnt work..
my_mail(, '[' . $mybb->settings['bbname'] . ' ' . $pages['name'] . '] ' . $subject, $message, $from, '', '', false, 'text', '', $email); 

My SMTP is configured correctly.. Activation mails are sent from SMTP in correct manner...

Help me to sort out this problem..
Hi csetube,

I think that I solved your problem. http://community.mybb.com/thread-145420.html

Hugs.