0

I have a WordPress website and I am not receiving emails that are being submitted using contact forms. I have tried several contact form plugins, I even tried a custom contact form I coded myself with no luck. The forms were working at one point but we always had issues with the Contact Form 7 plugin, that one never worked for some reason. I am at a loss as to why this is happening. I tried sending emails out using SMTP instead of php's mail() function and that did not work either.

closed as off-topic by Mark Kaplun, cjbj, Nicolai, bueltge, cybmeta Oct 17 '17 at 5:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?" – Mark Kaplun, cjbj, bueltge, cybmeta
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Have you tried to create a separate file (outside of your WordPress instance) and create a custom contact form, to check if sending of mails is disabled by your host? – Samuel Asor Sep 27 '17 at 15:15
  • 3
    there is just no way to answer without guessing. You should contact your support and try to look at your mail server logs. It is also very possible that they are marked as spam – Mark Kaplun Sep 27 '17 at 15:23
1

Your could debug php mailer in WP using franz's wpmail_exceptions plugin https://gist.github.com/franz-josef-kaiser/5840282

Place the first file in /wp-content/mu-plugins/ and make sure you've set WP_DEBUG to true. You should test while logged in as administrator. Errors will be printed in main buffer so make sure to inspect any xhr requests if your form works asynchronously (Ajax).

Good luck

Not the answer you're looking for? Browse other questions tagged or ask your own question.