By Nitya Mallikarjun on Thursday, 13 March 2014
Posted in Technical Issues
Replies 9
Likes 0
Views 558
Votes 0
Hi guys,

We noticed something very unusual after we turned on email notifications for our subscribers. When our team 'schedules' a post to go out at a later time, not only does an email get sent about it when the time comes but an email from old posts from weeks ago gets sent out. We haven't been able to trace a pattern apart from the fact that this is only happening when a post is 'scheduled' for later, not when it is immediately published. On one of the old posts, the author name changed by itself to someone who did NOT originally write the post! Can you advice us on what to do to stop these old emails from going out?

Also, we noticed some emails go out more than once for the same post. Why does this happen and how can we stop it? We only want one email to go out per blog post.

Look forward to hearing from you!
Hello Nitya Mallikarjun,

Sorry for late reply to this,
Are you configure the cronjob in your site yet?
If no, perhaps the reason why you getting this issues "Multiple Email Notifications/Notifications For Old Posts" is mostly probably because the cronjob wasn't created and you are using the "Send email on page load" option. check my screenshot for your configuration setting : http://screencast.com/t/xIl7Ef7dTgm

That mean the email notification send out is depend on which user load your site page, then it only process 5 email per load the page.

If you already set the cronjob in your site, is it possible provide us with your Cpanel access so we can help you check on this issues? Please advise.
·
Thursday, 13 March 2014 22:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your reply! Can you share which specific cron job needs to be set for easyblog emails?

On a related note, we also have Jomsocial installed on our site and have not yet set up a cron to send Jomsocial email notifications because we haven't completely tested all the emails sent from it. At this point, we are not sending jomsocial notifications but do want easyblog emails to subscribers. Is it the same cron for both emails? If yes then it doesn't help us at the moment till we turn on notifications from Jomsocial as well. If not, then please share the cron to be set up and I can request our sys admin to set it up.

Btw, this is the cron from Jomsocial that is set up on one of our dev sites but *not* on our live production site. We will not be setting this up till we resolve our issues with jomsocial email notifications

wget -O /dev/null "http://www.domain.com/index.php?option=com_community&task=cron"; > /dev/null

Nitya
·
Thursday, 13 March 2014 22:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nitya Mallikarjun,

You're welcome
Sure, you can view this cronjob documentation here -> http://stackideas.com/docs/easydiscuss/cronjobs ( cron command : com_easydiscuss -> com_easyblog )
Also, if I'm not wrong, you can set this cron command in your CPanel if the wget path is correct.

wget -O /dev/null "http://www.domain.com/index.php?option=com_easyblog&task=cron" > /dev/null
·
Thursday, 13 March 2014 23:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks! I'll request our sys admin to set up this cron job. Before I do that, I want to confirm a couple of things:

1) Will setting up the new cron cause any old emails to go out? Should I check the mail queue for anything suspicious?
2) Should I turn off 'send email on page load' option after the cron is set up?

Nitya
·
Friday, 14 March 2014 00:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nitya Mallikarjun,

You're welcome.
Great ! I remember i have checked in your mail queue, it seems like all the email is sent out.
If you would like to cleanup all the email notification, you can go to your Easyblog mail queue there delete all the email.
Yes, when you set up the cronjob finish, you should turn it off that option, so it will not messed up the email process.
Hope this help.
·
Friday, 14 March 2014 00:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex,

We set up a cron job and disabled the 'send email on page load' option. However, we noticed another rogue email go out on Friday. It is for an old post and the author is also incorrect. We have to stop these emails from going out, we want only *new* blog posts to send an email. This must be a bug, can you please advice on what we should do? Thanks!

Nitya
·
Monday, 17 March 2014 22:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nitya,

Sorry for late reply to this,
Hmm, i have tried to subscribe in your blog site wide and using you provided that user login credential create a new blog post, it seems like the mail queue is show correctly, i also checked in my email inbox, also show out correctly.
Check my screenshot also check with your user is it receive same email notification with me :
http://screencast.com/t/0w4UkRIUHr0 (Email subscription confirmation)
http://screencast.com/t/dd7vh93GY (Email notification of New blog post created)

Please advise.
·
Tuesday, 18 March 2014 01:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex,

Thanks but we are not facing an issue with emails for new blogs. New blog posts always send an email and that works. But when we schedule posts for lates (let's say I write it now but schedule it to be posted one week later), along with the new email an email from an old post also gets sent. We've noticed that old email lists the wrong author.

If you would like to test, I request you not to test on the live site since we do not want our subscribers to get these test emails. Has anyone reported this problem before? Our Marketing team is seeing emails go out that shouldn't (from old posts, some more than a month old), so we don't know what to do to stop them! They don't show up on the mail queue, so looking there will not help.

If there is any other way to test (maybe on our qa site?) I can try and provide you access for it. We cannot do the tests on our live production site!

Nitya
·
Tuesday, 18 March 2014 02:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nitya Mallikarjun,

I'm really sorry for that
Yes, if you can provide us a test site to check it out, that is the better way and prevent when i test it the email notification will not sent to your marketing team
But you have to configure everything including set up the cronjob and you test the schedule post in your test site and see how it goes first.
If you're facing the same problem, please refer back to us and provide the test site login credential. Please advise.
·
Tuesday, 18 March 2014 11:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post