How to fix slow php email on Joomla

Install required software:

sudo apt-get install sendmail php-mail postfix

Restart sendmail

sudo service sendmail restart


sudo /etc/init.d/sendmail restart


Restart apache service

sudo /etc/init.d/apache2 restart


sudo service apache2 restart


#Test your php mail function

if(mail(“”, “Subject here”, “Message body here”))
echo “Email working well :)”;
echo “Something is wrong”;

Leave a Comment

Your email address will not be published. Required fields are marked *