Skip Navigation

[Resolved] Post Forms Notifications not sent when trigger set to "Posts is published"

This support ticket is created 3 years, 1 month 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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: Africa/Casablanca (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by Jamal 3 years, 1 month ago.

Assisted by: Jamal.

Author
Posts
#2197885

I am trying to:
Have a notification sent when someone fills in a form to create a new application

Link to a page where the issue can be seen:
Applications are submitted from here hidden link (Staging copy of original site). The contest ends tomorrow at noon (Sunday Oct. 17th) so it may be gone by the time you see this.

I expected to see:
The form submits correctly but the email notification is never sent. WP Mail Logging doesn't even get it..

For troubleshooting I've done:
- Built a staging copy to test on
- Replaced the existing notification with a new one, no fix
- Created a different form, its notification also failed
- "Tested: email sending from new form, worked fine.
- I then created a new form and tested on MAMP, on a fresh site. Test emails go, notifications don’t.
- In ALL cases, notifications do not show up in WP Mail Logging

BUT when I switched from Post Published to "Send when form si submitted" it worked again..

So, looks like there may be a bug with the Post Published notification?

#2198337

Hello and thank you for contacting Toolset support.

I tried to log in to your website, but I got blocked by a basic HTTP authentication. Check this screenshot hidden link

So, I tried to reproduce this issue on a clean install and the notification works as expected when the post is published. You can check my test site here hidden link
The form is defined here hidden link
And used here hidden link
Check the sent emails here hidden link

Maybe you have a different configuration for the notifications. Can you add the basic auth credentials on your next private reply to let me check the form closely?

#2198495

I am so sorry about this..

I've turned off that extra login, it should let you in now at hidden link

Thanks a lot

#2198907

I performed two changes on the form and run a test, and it seems to me to work as expected.
- I changed the status of the post that will be created from published to pending review.
- I change an recipient email, by removing the bcc: prefix, as described in this screenshot hidden link

Then, I submitted the post, which created a pending review post. Then I published the post from the backend, and the notification email was sent without issues.

If you want to keep the status "published" for this form, then you should configure the notification to be sent when the form is submitted.
If you want to trigger the email when the post is published, then you should create the post in a different status then publish it. Does it make sense?

I hope this helps. Let me know if you have any questions.