Skip Navigation

[Resolved] Send Email Notification to all child posts users(authors)

This thread is resolved. Here is a description of the problem and solution.

Problem:
Send Email Notification to all child posts users(authors) with forms

Solution:
You should try to use the Toolset Form's hook cred_notification_recipients to add as many notification recipients as you want.

You can find the proposed solution in this case with the following reply:
=> https://toolset.com/forums/topic/send-email-notification-to-all-child-posts-usersauthors/#post-1279475

Relevant Documentation:
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_notification_recipients
=> https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_get_related_post

This support ticket is created 5 years, 5 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 25 replies, has 2 voices.

Last updated by udais 5 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#1279527

I checked. Now no email is being received on any email. plz. check....

and log is showing you must provide at least on recipient email id...

#1279531

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I do not know what email client you are using or how you setup the email.

At this end with toolset hook cred_notification_recipients it fetches the correct child ids and based on child IDs it also fetches he correct post author emails as well as, as you can see with the email log, it fetches the correct emails and email content:
=> hidden link

I do not know why emails are not sent on your install, can you please check with your hosting authority or show me the Toolset is the issue here.

#1279533
5.png

attached scheenshot

#1279545

Hello
email is working fine. I am receiving emails. even from your code i received email but only to first author/user. plz. check. i think email/server is not issue.

#1279547

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I do not know how the email log function you installed works and why it adds /n:
=> hidden link

With email log plugin I installed - it shows all fine:
=> hidden link

I suggest to check with plugin author and let us know if there is a need to change anything with Toolset. As far as I can see it works just fine with the email log plugin I installed.

#1279565

Hello

Plugin is not issue. i am receiving email only on first email. plz. check........

#1279567

I changed to to BCC. Received.....

#1279571

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Great - glad to know and happy to help. Have a great day ahead.

#1279585

Thanks for help.
But its only works if changed to to BCC. It adds \n after first email if i change back bcc to to mail only sent to first user. i think \n is issue.

overall thanks.

#1279587

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Your welcome and glad to help and happy at the end to see its resolved.

#1279977

My issue is resolved now. Thank you!