sendmail function stopped working

Discussion room for Wordpress, a weblog based social networking community.
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
User avatar
Posts: 94
Joined: Mon Aug 15, 2016 9:14 am

sendmail function stopped working

Postby vassil_bk » Wed Feb 28, 2018 10:31 am


After the update of WordPress package to the latest 4.9.1 version 'sendmail' function of the PHP stopped working. This caused the contact form of my site and some e-mail notifications to stop working too.

I read this tutorial about configuring the ssmtp: ... _for_Gmail
Found out that my '/etc/ssmtp/ssmtp.conf' file was empty. I filled it according to the manual above and made the following link:
# ln -s /usr/bin/ssmtp /usr/sbin/sendmail

Then I executed:
# /usr/bin/ssmtp -t
and the 'sendmail' function worked. Unfortunately this was only temporarily - after an hour 'sendmail' stopped again and I had to run the command again.

With the previous release of WordPress I never had to do any of these and the 'sendmail' function was working just fine.

Does anyone have an idea how to fix the issue?

Return to “Wordpress”

Who is online

Users browsing this forum: No registered users and 2 guests