Hi there,
I have two weird issues with contact forms on a site I’m helping build.
1. The contact forms sometimes seem to try and send multiple e-mails, sometimes even after half an hour. This never happens when I use the forms myself, but when other people do that it can happen. It happens with both Contact Form 7 and WPForms.
2. The E-Mails are sent via SMTP using WP Mail SMTP. However, the connection randomly gets blocked. Basically it is like this:
The connection to the smtp server X:587 works initially, but after a while suddenly all attempts stop working with “Connection timeout”. Then I switch to another connection, Y:465 for example, and it works immediately, but after a while it stops working too. If I’ve waited long enough, I can now switch back to X:587. This is of course awful, and interestingly enough it worked well for the first three months.
Do any of these problems sound familiar to anyone? What can I do to get rid of these problems? I’d be grateful for any input here. 🙂
[ad_2]
Ensure your SPF and DMARC records are setup. More and more smtp sever won’t accept mail from domains without those records.
Use mail-tester.com to test.
Is the SMTP connection to your host or an external provider? Sounds like it’s a problem with the server you are trying to connect to so you’d need to reach out to whoever controls that service.