MyBB Community Forums

Full Version: The problem of mailing of Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there

Yes, I know it's an old problem and a lot of speaking out I can not live with the site can not send a mail message to a member and there are many reasons for requiring the use of this property have tried all attempts to solve this problem was more useful and you use Mail Settings SMTP Mail The attempt failed, and also experimented with several versions of the script in vain with the knowledge that the site was established by an interview and there are no posts in which only tried to find his solutions
http://www.t-a-l-e-n.tk/mybb
Knowing that I receive the messageSystem Mail Log  The following figure

[url=http://t-a-l-e-n.tk/mybb/admin/index.php?module=tools-mailerrors][/url]
MyBB was unable to send the email using the PHP mail() function.
you have to contact your web host for the mail facility.
in general, free web hosts do not provide mail facility. you may have to try using a SMTP mail service (eg. mailjet.com)
First I do not use free hosting
And knowing that I'm hosting, which it supports all the characteristics that I owned a Reseller account has been installed multiple types of scripts and all working e properties with no problems
And also you run advantage SMTP Mail without any benefit nothing has changed. In all cases The same mistake I find the messages in place Error Message The following figure
MyBB was unable to send the email using the PHP mail() function.
^ please see faq: mail and run the test mail & post back the result !
(08-24-2016, 01:33 PM).m. Wrote: [ -> ]^ please see faq: mail and run the test mail & post back the result !

After a first attempt establishment PHP file and put inside your text
<?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());
       }
    ?>

The result
Mail was sent by PHP
Through the following link
http://t-a-l-e-n.tk/mybb/as.php
^ and did you get that test mail to your e-mail address ?
(08-24-2016, 02:05 PM).m. Wrote: [ -> ]^ and did you get that test mail to your e-mail address ?

Yes received mail

You look in the file inc/functions.php I can not find the code
php mail($to, $subject, $message, $headers);

 
Are there additional steps to do