I want to send an email with data from the parent post after child post is published. I am using the email trigger on publish functionality but nothing happens.
The email works just fine if I select send email on submit trigger.
Hello. Thank you for contacting the Toolset support.
Can you please confirm what fields you want to add to your email notification (only parent post fields?) and where you added the form?
Can you please share all those required details with access details and I would be happy to check whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Can you please share URL of the page where you added the frotnend form as well as how you are passing the parent author email endorser email. Please share frontend link with params you pass.
When I try to access the wp-admin, it redirect me to wordpress.com, Can you please make sure I should be able to login to your site using the access details you shared.
And I see the status of the post is set to published for that form.
I see that you have setup a email notification "Notification to the Endorser" that is set to trigger when publishing the post, at what action you want to trigger this email notification? when user submit the form and post becomes published? if yes: why dont you use the submit email notification trigger?
When the endorser receives a link, the post is not published. It does not exist yet. When the endorser submits the form in the link mentioned earlier, the post publishes. I want to send an email to the endorser when the post is published after submitting the form.
Isn't that what that trigger called 'when post status changes to ... publish' does?
I could use the 'when form submits' trigger' but what if the post does not publish for some reason and endorser gets a message that it's all good. In case it is not published, endorser should try again to publish.
When the endorser receives a link, the post is not published. It does not exist yet. When the endorser submits the form in the link mentioned earlier, the post publishes. I want to send an email to the endorser when the post is published after submitting the form.
==>
I suggest, you should set the notification of Submit and you will have the same result. Can you please do that as when you submit the form post is created and post status is assigned as published not changed.
The post status change should be applicable when, lets say you have a post as pending or draft, and then you change the post status to publish.