By Dick Verschuur on Tuesday, 10 December 2013
Posted in Technical Issues
Replies 7
Likes 0
Views 1K
Votes 0
Hello,

A client that uses EasyBlog just added a new blogpost, and sent the emails to the subscribers.
I am one of those subscribers, and I got 14 blog notification emails!
And I am not the only subscriber to whom this has happened, and some people only got 1 email while others got 20.

They use the method of sending the emails when someone loads the page. So no cron job.

I made a local copy on our server, removed all subscribers except myself, and added a new blogpost. Then, I only get 1 email! I tested this multiple times.

In the EasyBlog mailpool I see nothing wrong.

Could you please help me find out where this is going wrong?

Thanks in advance!
Hello Dick,

There are possibilities that when "Send email on page load" is enabled, it generates duplicate e-mails. Why? When the script executes, someone else might be viewing the page and before the e-mail get's dispatched, it get's created again.

I would strongly suggest that you consider creating a cron job instead of "Sending email on page load".
·
Tuesday, 10 December 2013 22:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Goodmorning Mark,

Isn't it possible for the emails to be sent automatically after the publishing of a new blogpost?

The best thing I think would be to have a button in the Mailpool, which when pressed sends all the emails.
This button could be pointing to the following URL:

http://yoursite.com/index.php?option=com_easyblog&task=cron

Because when I manually go to that URL the emails are being sent.

Is this possible?

We don't want a cronjob to periodically check wether or not there is a new blogpost, why do that if you can just press a button?

Thanks in advance!
·
Thursday, 12 December 2013 16:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Please replace the attached file (default_joomla.php) in ..\administrator\components\com_easyblog\views\spools\tmpl\default_joomla.php . Hope this helps.
·
Thursday, 12 December 2013 18:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Awesome! I think this is the perfect solution.

Thank you!
·
Thursday, 12 December 2013 23:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Disck,

You are most welcome. Glad that your issue is solved.

Thanks!
·
Thursday, 12 December 2013 23:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Good morning,

Is there a way to view a log of all the emails that are sent?
·
Friday, 13 December 2013 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Dick,

Sorry for the late reply. Yes Please go to backend -> EasyBlog -> Mail Activities Hope this helps.

Thanks!
·
Friday, 13 December 2013 16:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post