I am trying to:
receive email notifications when a user submits a form
Link to a page where the issue can be seen:
hidden link
I expected to see:
An email in my inbox
Instead, I got:
no email.
I get emails from Woocommerce etc. I've tried using WP Mail SMTP and Post SMTP, both send test emails fine, but nothing coming from Toolset forms.
Hello,
I have tried the URL you mentioned above, but don't see any post forms.
How do you setup the post form and email notification?
Can you get the PHP debug logs from your website?
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging
Oh my goodness, I just realised that access wasn't granted to guest on the contact form, so it wasn't displaying for non-logged in users.
It is displaying now. I will pull the debug logs for the site.
The notification is set to go to a specific email address. The last email received was on 5/10/2022, so something has changed in the codebase, I haven't changed any config, except to troubleshoot once I realised it was no longer working.
OK, please update here when you get the PHP debug logs, and you can also provide a test site with the same problem, fill below private message with test site credentials, I need a live website to test and debug, thanks
Hi, when looking at the debug logs I see now that I was filtering the mail header using the cred_mail_header filter but forgot to declare the form_id as a constant in my wp-config file in my live site! I guess this error wasn't fatal previously, but now is due to an environment change.
Thanks for your great support anyway.