Digests

Author Message

Yvan Cottyn

Tuesday 30 December 2003 3:16:28 am

Hi all,

Anybody any experience with sending digest mails instead of separate mails for notifications?
I am running "runcronjobs.php" from cron every hour. Noptification mails are sent out correctly.
When a users enables digests, no digest mails are sent out.....
After disabling digests the user starts receiving the normal notification mails again.
Any hints?

TIA
vanne

FYI ezp version is 3.2-3

Gunnstein Lye

Thursday 22 April 2004 5:45:07 am

Same problem here (3.3-4), I'm trying to fix it.

Gunnstein Lye

Thursday 22 April 2004 6:38:48 am

It seems this is not a bug. The send time will be set to one week in the future, rather than today, if the publish event happens on the same day as the notification setting was made. Try enabling notification for a week (or reduce the timestamp in the eznotificationcollection_item table in the database if you are in a hurry).

Darren Pike

Tuesday 27 April 2004 9:24:01 pm

We are experiencing a similar problem (3.3-4) where the digest isn't working. I did forward set the digest by a couple of days and waited for the digest email but it has never arrived.
Reverting to normal hourly notification works fine.

Darren

DB Informatics

Gunnstein Lye

Wednesday 28 April 2004 12:28:29 am

By the way, I've made a hack that gives you the option of daily or monthly digest:
http://ez.no/community/contributions/hacks/daily_and_monthly_digest_for_notification

Darren,
Are you sure you waited at least untill the timestamp in eznotificationcollection_item? (could take up to a week). Also, is the cronjob running correctly?

Darren Pike

Wednesday 28 April 2004 1:09:33 am

I forward set it by a few days, but not a whole week. I presumed it would just send whatever had changed in those last few days.
Looking at the timestamp in eznotificationcollection_item is quite interesting, because I have set the digest to Wed at 1.00 am, but the timestamp recorded is 1083684600 which according to http://www.unixtimestamp.com/index.php is Tuesday at 11.30 am.
? is there an offset predefined in eZp

DB Informatics

Gunnstein Lye

Wednesday 28 April 2004 8:12:01 am

Weird, I have not experienced anything like this. I suggest you file a bug report about it.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.