Skip to Content Skip to Menu

groupjive notifications

  • Hertak
  • Hertak
  • OFFLINE
  • Posts: 386
  • Thanks: 84
  • Karma: 29
10 years 7 months ago #242167 by Hertak
groupjive notifications was created by Hertak
This message is to help an user on spanish forum see here the original message www.joomlapolis.com/forum/167-spanish/224754-obtener-url-del-perfil-y-enviar-emails-con-la-api-de-cb#242141
When a group has a notification an email is sent to all members that mail are using TO: instead of BCC:
Changin the code works but is very ugly solution because the to field is empty
The changes made are:
Code:
$recipient = array( 'person1@domain.com', 'person2@domain.com', 'person3@domain.com' ); $mailer->addRecipient($recipient);
For
Code:
$mailer->addBBC($recipient);
Is there a more elegant or functional solution? thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8281
  • Karma: 1443
10 years 7 months ago #242181 by krileon
Replied by krileon on topic groupjive notifications
The recipients are looped and sent individually. So there is nothing to BCC. Sorry, don't understand the issue. The changes you're proposing are direct changes to the mailer, which should not be done; especially if being done in CBs core files which would affect all emails sent by CB.


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.

  • Hertak
  • Hertak
  • OFFLINE
  • Posts: 386
  • Thanks: 84
  • Karma: 29
10 years 7 months ago #242244 by Hertak
Replied by Hertak on topic groupjive notifications
Hi, if you want can check the post of the user. www.joomlapolis.com/forum/167-spanish/224754-obtener-url-del-perfil-y-enviar-emails-con-la-api-de-cb?limitstart=0´
Basically the problem is the load page when send emails.
When someone make a post on group GJ send a notification to all user and the group has 800-1000 users and take so much time to send the notification.
Is there a way to make the email are sent on background? Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8281
  • Karma: 1443
10 years 7 months ago #242246 by krileon
Replied by krileon on topic groupjive notifications
There's no fixing that until we've a scheduler API in place so the emails can be scheduled and sent in batches. Right now it sends all the emails at once which could take awhile. I suggest sending private messages instead of email notifications as that should be quite a bit faster.


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.

  • Hertak
  • Hertak
  • OFFLINE
  • Posts: 386
  • Thanks: 84
  • Karma: 29
10 years 7 months ago #242247 by Hertak
Replied by Hertak on topic groupjive notifications
What about the email action of the autoactions that work to solve?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8281
  • Karma: 1443
10 years 7 months ago #242249 by krileon
Replied by krileon on topic groupjive notifications
No, there is no scheduler API. So you can not schedule emails or send them in batches. CB Auto Actions just performs an action based off a trigger so it would just do the same as the notifications are already doing.


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