Hi,
there are email notifications missing for some activities.
For example:
I set in profile under preferences -> Emails & Notifications that my user wants to receive email for Approved friend request and profile like.
If you check in backend components -> jomsocial -> activites.
You can see that there was an Approved friend requests at 2015-07-08 19:37:45
And a profile like at 2015-07-08 19:41:39
If you check mail queue in backend, you can see that an email for sneding friend request was created at 2015-07-08 19:36:40 but nothing for the two activities above.
Is there any global setting which is missing?
Thanks,
Hi Jan,
I see, I think your email server is overload, please you try edit this file administrator/components/com_community/default.ini, find this paramater "totalemailpercron" and change the value to the smaller value.
thank you
Hi Dimas,
I adjusted the value and set it to 50 (was 150 before). But issue still exists.
This mail queue in jomsocial backend is not reflecting the actual queue of our mailserver. I would assume that jomsocial is still creating emails and save it to jomsocial queue in case mailserver queue is overload because of huge amount of emails.
How does it works in general?
TEvery time if an activity is created and logic says that there should be a notification email send, there is an entry in any database table created. If cron job runs, it reads all entries from database table, composes emails and put it to jomsocial mail queue? totalemailpercron = 50 means that only 50 mail per cron are composed?
Does it work that way?
Its mean, every cron job run the system will send 50 records on emailq database..
we are using email library from Joomla itself, and if your emailq overload sometimes the jomsocial code get "blocked" status from email Joomla code, that's why the emails are not being sent
In backend in this jomsocial email queue, there is a status 'blocked' which means that user does not want to receive emails for this activity. Status 'pending' means that this is not send yet. It will be send with next cron run.
But the problem is that no email is created in this mail queue at all.
Maybe we have here the same bug or a similar bug as in this thread:
www.jomsocial.com/forum/groups/27789-no-...-group-stream#135715
Hi Jan,
That bug is different..
well blocked means, the sending email was failed, due your mail server fail to sent it (Mail Server issue overload) and your issue caused by blocked thing
thank you
Hi Dimas,
no, our issue is not caused by blocking. There is no blocked mail in queue. There is no mail created at all.
If you take a look at my first post again, I liked a profile but there was no email added to the mail queue.
Regards,
Hi Dimas,
thank you for testing again.
It retested your example and it was also working fine.
It seems that it is not working for every user...I was not able to find out why.
I just want to ask you to do one additional test. I tried with different users now to like the profile of user 'admint'. It was not email generated and added to queue. Could you please try to like this profile?
I will provide login data for this user in first post for the case that you want to check settings.
Hi Jan,
this is user configuration issue.. please make sure this email notification "New profile likes" is checked on Emails and Notifications setting.
thank you
please provide me the sample user for testing it, because its fine on my tester user.
Hi Jan,
My apologize for delay answer, currently I am on holiday, I will be back and continue inspect your issue on July 30th.
Thank you for your undestanding