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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!