activity-log icon indicating copy to clipboard operation
activity-log copied to clipboard

Send notification in X hours?

Open KingYes opened this issue 10 years ago • 4 comments

I just think it's very spam for now to send email per log changes. The better way need to save queue in the cache (maybe in wp_options?), and send per X hours all the activity.

@maor What you think about this?

Best, Yakir

KingYes avatar Apr 27 '14 06:04 KingYes

Save in wp_options? You mean, to render the email's HTML and then send on a WP_Cron event? I think we need to add an option in the settings, letting users choose if they want to get the email right away (kind of spammy, but good for people that want to be notified fast, i.e. if their client does something wrong, they want to know about it ASAP) or if they want to get a "digest" of multiple events that occurred during the last X hours.

maor avatar Apr 27 '14 06:04 maor

Good point. But for last night I wanted to create a MU, and I just needed to deactivated all my plugins, and I get really spam in my mailbox.

I just think we need to create better way to do that. :)

KingYes avatar Apr 27 '14 06:04 KingYes

:100:% agreed! We should definitely do it.

maor avatar Apr 27 '14 06:04 maor

@KingYes I was thinking about this a little more. What if someone does want to get a notification right away? Should we add an option for sending notifications every time the rules are matched, or sending them in batch? I think it would make more sense.

maor avatar Jun 29 '14 22:06 maor