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?
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?
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
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.