I have radicle running on cloudways, it seems to be running quite well. However cloudways has a SMTP server selection in the server section dashboard. I setup Send Grid and it sends email from the test dashboard on the server in cloudways, but when I try to send email from wordpress which is running on that server it doesn’t work I can’t send user invites.
I can add whatever relevant information or code you need, but I don’t know what to add.
No, that would go into a mu-plugin, like public/content/mu-plugins/smtp.php, and it requires you to configure the environment values from the .env file.
You could also use one of the many available SMTP WordPress plugins that handle this with a GUI.
I would like to get the MU plugin working, if not just for better understanding. I can see it in wordpress the environment variables are there I am tailing the appplication.log file but I don’t see any logs when i try and send a email is there something I can turn on to get visibility @ben
Thank you Ben got it working this morning, was pretty tired when I was working on it Thursday and I hadn’t set the wp_env variable to production on the server.