Hi, I have installed MediaWiki 1.28.0 on my local webserver running debian 7.11 amd64, mysql 5.5.54 and php 5.5.38. The Extension:Echo has been installed for notification capability, Echo installed fine and is working as expected except for the Email-bundling feature. The email notifications are send through an external SMTP (gmail).
I'm testing the email notification feature by linking from (Main) to a wiki page(AdminsPage) owned by a specific user (admin). When the user preference for email frequency is set to 'immediate' notification emails are instantly send when a link is made to the users page. So far everything as expected and fine. Because instant notifications lead to spam I set the email notification interval to a daily summary, but now emails are no longer send.
In LocalSettings.php following settings for Echo are set:
$wgDefaultUserOptions['echo-email-frequency']=1;
$wgEchoEnableEmailBatch = true;
$wgEchoUserJobQueue = true;
$wgEchoBundleEmailInterval=120;
With showJobs.php --list I can confirm that a job is added to the queue when a link is created, but when runJobs.php is executed no email is send and the job is cleared from the queue.
job queue |
---|
htmlCacheUpdate Main table=pagelinks recursive=1 rootJobIsSelf=1 rootJobSignature=f4dd119f25cef442baf7eca32fecdb9242c8efc4 rootJobTimestamp=20170412171506 requestId=82c2a8130ffc7d4de81f4d85 (id=51,timestamp=20170412171506) status=unclaimed EchoNotificationDeleteJob AdminsPage userIds={"1":1} requestId=ef4a598483d9073121264f99 (id=53,timestamp=20170412171507) status=unclaimed |
runJobs |
---|
2017-04-12 17:16:44 htmlCacheUpdate Main table=pagelinks recursive=1 rootJobIsSelf=1 rootJobSignature=f4dd119f25cef442baf7eca32fecdb9242c8efc4 rootJobTimestamp=20170412171506 requestId=82c2a8130ffc7d4de81f4d85 (id=51,timestamp=20170412171506) STARTING 2017-04-12 17:16:44 htmlCacheUpdate Main table=pagelinks recursive=1 rootJobIsSelf=1 rootJobSignature=f4dd119f25cef442baf7eca32fecdb9242c8efc4 rootJobTimestamp=20170412171506 requestId=82c2a8130ffc7d4de81f4d85 (id=51,timestamp=20170412171506) t=5 good 2017-04-12 17:16:44 EchoNotificationDeleteJob AdminsPage userIds={"1":1} requestId=ef4a598483d9073121264f99 (id=53,timestamp=20170412171507) STARTING 2017-04-12 17:16:44 EchoNotificationDeleteJob AdminsPage userIds={"1":1} requestId=ef4a598483d9073121264f99 (id=53,timestamp=20170412171507) t=3 good |
In the end what should be achieved is a weekly email notification to the user bundling all new and edited pages, like a newsletter. The idea was to use the Extension:Echo and Extension:EditNotify.
For any hints or solutions I would be very grateful. Thank you in advance for your help!