Topic on Project:Support desk

Stefanomenci (talkcontribs)

My wiki does not send emails anymore. I know that it was working before the upgrade to 1.22.2, but I don't know if it ever worked after the upgrade.

Sending an email with Special:EmailUser says "Your email message has been sent.", but the email never arrives.

It is an internal wiki accessible only with an user account. Some users forgot their password and cannot change it because they don't receive the notification email.

It is installed on a managed server, I have access via cPanel, here is the Special:Version output:

MediaWiki 1.22.2
PHP 5.5.22 (cgi-fcgi)
MySQL 5.5.40-36.1

Where do I start investigating?

Ciencia Al Poder (talkcontribs)

Manual:How to debug. Set up a debug log and trigger an action that would send an email (for example, create a new account or send again the confirmation email), and look in the logs for some error condition, warning, etc.

209.40.237.93 (talkcontribs)

Thanks!

I enabled most of the debugging options, and the log ends with:

   UserMailer::send: sending mail to Correct Name <Correct Email Address>
   Sending mail via internal mail() function

The emails still don't reach destination.

Do I need to dig into some PHP settings? How do I do that?

209.40.237.93 (talkcontribs)

I created a new account with a gmail address and found out that the emails are sent by the wiki and received by the gmail account.

They are not received by our domain email addresses. Not blocked by spam filter nor firewall nor anything else I can think of. But this is my problem to solve. Thanks for your help.

Reply to "Does not send emails"