Fix for slow php mail() function – ubuntu – sendmail


hostname
sudo vi /etc/hosts

// Change
127.0.0.1 localhost [hostname (whatever your hostname is)]
// To
127.0.0.1 localhost localhost.localdomain [hostname]

sudo service apache2 restart

, ,

Leave a Reply

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