I have a small problem with notifications once a form is submitted, in my case, I have a custom post type called “recipe”, a user submits a form to submit a recipe, once submitted the recipe is “pending for review”, I expected here to receive an email notification as an admin but nothing is going through! I have set up properly the email address and template in the “Notification” tab within the form I created.
Could you please advise what could possible conflict with this? and where I can look to fix. I would highly appreciate.
Thanks for the reply! Yes the form is working correctly, but no email. I use Contact Form 7 on the website and it's sending emails properly. I host the website on our dedi which runs PHP 5.4 now and all our websites we have work properly, I haven't had any email issues before with our setup. I am lost now, where should I start?
I tested the code, the mail body returning is fine and it's sending the mail via wp_mail correctly. So I suppose something wrong with the wp_mail function from WordPress or the mail server. But as you said other mail are working fine, that doesn't make any sense.
I understand what are you saying, but as I dubugged, everything is working as it should. You may check the plugin in another server you would like or disable all other plugins to check if anyone is conflicting?
I just can't think of a reason why it wouldn't send the email as the correct message and to address is filling out in wp_mail function. Could you please install the plugin in a different server and test?
Hi, I tested on brand new install on wordpress for normal posts (no custom post type) and it worked for published submitted posts. but on my website not working still. one question how about using PHP mail instead? could you please point me where to look and update? I can't find the file that manage the wp_mail inside your plugin. thanks.