WordPress sends all mail from root@localhost using wp_mail()
I have a Digital Ocean droplet that was configured using the Laravel Forge build scripts.
It comes with LEMP stack setup.
All my emails from a WordPress site I have set up are sending out via root@localhost and consequently been rejected.
Sending via SMTP or the SparkPost API doesnt help nor does changing the email sender in functions.php or using a plugin to change it help.
FML I've been stuck on this for a few days already.