Mobile app version of vmapp.org
Login or Join
Deb1703797

: All contact forms in all Wordpress sites on the same VPS stopped working - php mail() malfunctioning? On my VPS I use Ubuntu 16.04.2, Apache2 and PHP 7.0.15. Back when I installed the server

@Deb1703797

Posted in: #Mail #Php #Wordpress

On my VPS I use Ubuntu 16.04.2, Apache2 and PHP 7.0.15. Back when I installed the server environment I executed:

php-zip php-curl php-xml php-gd php7.0-mcrypt php7.0-mbstring -y
apt-get install lamp-server^ -y

All of my sites on the server are Wordpress based and use the module Contact Form 7 and from some reason all contact forms in all these sites, don't work.

Whenever I go to try to send mail to throguh the forms, I get an "An error occurred".

So far, I understand this happens due to the PHP mail() function, malfunctioning in the server.

How could I make sure it's the mail() function and bring it back to life?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

1 Comments

Sorted by latest first Latest Oldest Best

 

@Merenda212

I was missing the postfix software which is a Mail Transfer Agent (receiver and sender of emails) in my environment.

I installed it this way:

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme