Skip Navigation

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

This support ticket is created hace 3 años, 1 mes. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Jamal hace 3 años, 1 mes.

Asistido por: Jamal.

Autor
Mensajes
#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 enlace oculto (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 enlace oculto

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 enlace oculto
The form is defined here enlace oculto
And used here enlace oculto
Check the sent emails here enlace oculto

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 enlace oculto

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 enlace oculto

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.