Sendmail, not Wappler related

I just want to ask, and it is totally unrelated to Wappler.

I have a VPS server with InMotion Hosting running WHM with root access on CENTOS 7.6 and my website hosted on the server has an enquiry form on it. When completed the form should write the content of the completed form to my MySQL database and email about 5 people the entire contents of the form.

It worked flawlessly for 2 years, never missing a beat, database and user emails. Then about a month ago I was noticing database entries that were added but no email that was being sent. I eventually went to tweak the settings and turned off SpamAssasain for email on the server, did some testing and all was working as expected again.

On the 31st December 2018, suddenly I notice that 3 enquiries were entered into the database, but no email for them again. I honestly do not understand why and do not know what to try to make it work 100% of the time. Is this just a sendmail issue, and should i not use sendmail and rather use proper SMTP? Just not sure how it all works wonderfully for so long and then just doesn’t considering i have made no alteration to it.

Community Page
Last updated: