Developed a plugin for Wordpress, already tested on the hostgator, worked correctly. When I put it in Digital Ocean, the function wp_mail();
is passed as true
but does not send any email.
Developed a plugin for Wordpress, already tested on the hostgator, worked correctly. When I put it in Digital Ocean, the function wp_mail();
is passed as true
but does not send any email.
If I'm not mistaken, Digital Ocean instances do not come with a pre-installed SMTP server. You will have to login to the instance via SSH and install the server manually, then use it in Wordpress or any other application you want.
This tutorial on the Digital Ocean site itself should help you.