My webserver wont send mail

Hi, My webserver wont send mail. Its a webserver with ubuntu 16.04 an apache2 and php 7.0. And is has multiple site’s running on it but it wont send mail if a contact form is filled in.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


I was having the same issues configured sendmail and postfix both one by one however I faced no such issue in past on ubuntu14 tried many workarounds but at last ended using sparkpost to send mails via server applications.

Hope you can get a workaround with following this tutorial:

Vivek Prism