My webserver wont send mail

October 13, 2017 867 views
Email Apache Ubuntu 16.04

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.

1 Answer


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

by Justin Ellingwood
Postfix is a popular open-source Mail Transfer Agent (MTA) that can be used to route and deliver email on a Linux system. It is estimated that around 25% of public mail servers on the internet run Postfix. In this guide, we'll teach you how to get up and running quickly...
Have another answer? Share your knowledge.