Wordpress not sending emails on a certain site (Apache Virtual Hosts) Ubuntu 16.04
I have three Wordpress sites on this droplet. The first two send emails fine. The third one, which I have set up recently, will not send emails - not from contact us forms, nor from trying to change the admin email. The forms etc appear to work fine but no email ever shows up.
I am using Migadu. Sending emails manually from this domain is fine. So I don’t think it’s the DNS.
Nothing shows up in /var/log/mail.log. In fact this file has not been edited since 2018. Same for mail.log.1
I tried using WP Mail SMTP plugin and pointing it at Migadu SMTP. This doesn’t work, it says “There was a problem while sending the test email” when testing.
I never had this problem when I set up the second Virtual Host site. What could be causing this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×