Problems with wp_mail( ); wordpress function

Asked

Viewed 454 times

1

I developed a plugin for Wordpress, already tested on hostgator, worked correctly. When I put in Digital Ocean, the function wp_mail(); passes as true but does not send any email.

1 answer

1

If I’m not mistaken, Digital Ocean instances do not come with a previously 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.

That one tutorial on Digital Ocean’s own website should help you.

  • Thanks Rodrigo, I even made a mask to forward the email to the gmail box, but it hasn’t worked out yet.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.