WordPress Email Not Sending in VPS


You will need to install an MTA (Mail Transfer Agent) on your droplet in order to route mail for PHP. You can do this simply by installing postfix or sendmail on your droplet.


sudo apt-get install sendmail

Configure hosts file correctly: nano /etc/hosts And make sure the line looks like this: localhost localhost.localdomain yourhostnamehere
Run the sendmail config and answer ‘Y’ to everything

sudo sendmailconfig

then reboot

Previous articleset up email in Outlook
Next articleTwitter Verification
Hello, I Am David oscar - A Computer Engineer Cum Blogger Cum Web Developer Cum Content Writer. I Am Addictive To Internet & Passionate About Technology.