Skip to Content Skip to Menu

In CB Auto Action: Send email to all registered users

  • abchrist
  • abchrist
  • OFFLINE
  • Posts: 3
  • Thanks: 1
  • Karma: 0
1 year 10 months ago - 1 year 10 months ago #332366 by abchrist
I've been looking for a list with all valid substitutions. I've not found it but would be happy is someone could point me to where it is.

I've created an Auto Action that sends an email notification when cbblogs_onAfterCreateBlog triggers, which does the job with an email to the author of the blog post. Now I would like the actions to send a notification email to all registered users. Is this possible?

This here is a question about if there is a substitution that can be used in the "To"-field, that will allow the email to be sent to all registered users?

My site is just a small one with a limited number of users and there will not be a problem with sending an email to all at the same time.

TIA
 
Last edit: 1 year 10 months ago by krileon. Reason: Added [#9107] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
1 year 10 months ago #332383 by krileon

This here is a question about if there is a substitution that can be used in the "To"-field, that will allow the email to be sent to all registered users?

There's no substitution for that. Will review adding support for emailing a larger amount of users at once. Likely being able to select a usergroup of users to email.

forge.joomlapolis.com/issues/9107


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
1 year 10 months ago #332384 by krileon
Actually you should be able to use the User parameter to feed a custom list of users through the auto action. The below should work.

Global
User: Query

User
Code:
SELECT `id` FROM `#__users`

That should email every user on your site. You can add to the query to limit this further.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum