Topic on Project:Support desk

Extension:Echo problem with email notification daily/weekly

2
RTloc (talkcontribs)

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.

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!

Ciencia Al Poder (talkcontribs)

The description of $wgEchoBundleEmailInterval says: The time interval between each bundle email in seconds; set a small number for test wikis. This should be set to 0 to disable email bundling if there is no delay queue support.

Apparently, there seems to be a (maybe external?) system to delay such notifications, but I was unable to see how it's implemented (by reading the extension's page). You may want to bring this up on the extension's talk page.

Reply to "Extension:Echo problem with email notification daily/weekly"