By Michael Chetelat on Thursday, 15 October 2015
Posted in Technical Issues
Replies 7
Likes 0
Views 658
Votes 0
Hello again!

We are noticing an issue where everyone subscribed to notification emails are receiving multiple emails for the same post. This is easily replicated by subscribing to any category and making a post. Subscribers have been getting 2-4 of the same notification emails for 1 blog post.

Thanks for looking into this.
Hi Michael,

I just tried to create a new blog post on your site in order to replicate the issue but it seems like I only got one email notification after the cron is executed. I've also checked your email pool records from your easyblog backend and the system only generated one email for each email address. Not really sure how can I reproduce this.
·
Thursday, 15 October 2015 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

Thank you for trying to reproduce this. We are still encountering the issue. Attached is an image of my inbox. Duplicates are color coded. The red dot is your test email.

Observations:
- All subscribed users receive the duplicate emails when it happens. It is not just specific users.
- It doesn't matter which user makes the posts. We have tested multiple users over multiple machines. My latest test was using the same user that you posted with.
- It doesn't matter if the post is published immediately or scheduled to post.
- I noticed you set your post to not display on frontpage. I tested another post and set frontpage to off but still received duplicate emails.
- Not all posts create the duplicate email. Some create more than 2 (up to 5), others stay at 1.
- It started out with only a few posts (1 in 10) sending duplicate emails, but has become much more frequent (9/10).
- Duplicates are not represented in the mail activity center.

We first encountered this issue last month when we were still on 3.x version of EasyBlog. We upgraded to 5 to see if that would fix the issue. You might be able to duplicate the issue yourself by publishing more than 1 blog if it doesn't happen the first time.
·
Friday, 16 October 2015 02:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Michael,

Can I know what is the interval for the cronjob?
·
Friday, 16 October 2015 02:47
·
0 Likes
·
0 Votes
·
0 Comments
·
5 minutes
·
Friday, 16 October 2015 02:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Could you try setting it to say 15 minutes - 20 minutes?
·
Friday, 16 October 2015 03:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Setting it to 20 minutes has reduced the number of duplicate emails significantly. I will continue testing it at 30 and 40 minute intervals to see if it completely fixes the issue. Thank you for your help!
·
Friday, 16 October 2015 23:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Michael,

Okay, based on your info here, my assumption is that when the cron initially run, it probably take a long time to process the emails because of the connectivity between the site and your mail server. During this time, the next cron could have overlapped and process the emails again.
·
Saturday, 17 October 2015 13:10
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post