Skip Navigation

[Resolved] Form notifications stopped sending

This support ticket is created 2 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by paulT-17 2 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#2473365

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.

#2473805

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

#2473879

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.

#2473899

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

#2474503

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.