Good day! There is a forum on Invision Power Board 3.4.6. Suddenly, he stopped sending e-mail to both administrators and users. When testing mail sending, “Support - Diagnostics - Email Verification” writes “Email was successfully sent” - but nothing comes.

Interestingly, if you write a test script that uses the mail class classEmail from the file \ ipsKernel \ classEmail.php - then test letters go. Those. sending from the IPB itself does not work, although the mail () function as a result all the necessary parameters ($ to, $ subject, $ message, $ rfc_headers) are transmitted and have quite correct values, which I looked through echo / var_dump. And mail () returns true, despite the fact that the letter does not reach any recipients.

In which direction to dig?

Ps. Hosting SWEB, technical support intelligible says nothing. Like, they are OK. There are no errors in php / apache logs.

    2 answers 2

    Problem solved!

    1) Initially, the mail did not go, because PHP was updated to version 5.5 on the server. To work with IPB, you need to download a patch for the class of sending mail from here: https://www.invisionpower.com/support/kb/_/34-emails-may-not-send-after-a-recent-php-upgrade -r78

    2) then the mail did not go, because the new anti-spam policy DMARC was included on mail.ru, when on behalf of @ mail.ru it is now impossible to send emails to @ mail.ru. As soon as the mailbox@mail.ru was replaced in the "From" field with another one, the mail began to normally go to mail and gmail. These are the pies. Read more about DMARC: https://corp.mail.ru/ru/press/releases/9593/

      Perhaps their address hit the blacklist or some configuration changes. Then you need to look at the logs of the mail server, and not php / apache. Try changing the Mail Delivery Method to SMTP using for example a Gmail server.

      • And I wrote above that the problem has already been solved :) Thank you) - NDanilov2015