nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
988 stars 240 forks source link

Spamming of recurring events notification emails #4875

Open aledef opened 1 year ago

aledef commented 1 year ago

Steps to reproduce

  1. Create a recurring event and set email notifications
  2. Wait for notification email
  3. You will get from 6 to 10 mails for a single event notification
  4. Please note: spamming notifications are sent with an interval of 5 or 10 minutes

Expected behavior

Ony one notification mail should be sent

Actual behaviour

6 to 10 mails for a single event notification are sent

Calendar app version

4.2.0

Browser

Chrome v108.0.5359.125

Client operating system

Windows 10

Server operating system

Linux

PHP engine version

PHP 8.1

Nextcloud version

25.0.2

Additional info

Please note this is the third calendar bug issue I open since I updated NextCloud to version 25.0.2 and calendar to version 4.2.0. Those bugs are a serious problem for who uses NextCloud to organize their professional life as I do. I tried downgrading NC and Calendar, but i got a message saing "Downgrade is not supported". I would suggest extremly accurate testing before issuing new versions. Thank you

miaulalala commented 1 year ago

Can you please tell me which email is being sent in multiples? A screenshot would be apprechiated.

aledef commented 1 year ago

Here is a screenshot showing event configuration

Senza-titolo-1

aledef commented 1 year ago

Here is a screenshot showing all notification emails I received for this event

Senza-titolo-2

aledef commented 1 year ago

Please let me know if you need more infos!

pierreozoux commented 1 year ago

24.0.11 and calendar version 3.5.7 and I have the same issue.

pierreozoux commented 1 year ago

@aledef do you have still the list of participants?

in my case, I found the issue. The mail of the participant was an invalid email (an email with a space created in thunderbird.) (I think Nextcloud should validate this kind of email before accepting to send emails).

In my case the issue is solved.

tcitworld commented 1 year ago

Can other affected people here confirm they can find the following pattern in their logs, to check if @pierreozoux's diagnostic is valid?

Email address {address} for reminder notification is incorrect

({address} is replaced by the invalid address in question, use a wildcard or search for the end of the string)

section1 commented 2 months ago

Hi all, i have this issue.. im using last 28.x version.. i think isn't a problem with the Calendar app but with nextcloud server dav. In my case i have this issue:

1) UserA makes an recursive event with 20 users(no important info but more users more spamming) 2) UserX accept or decline one instance of this reccurent event.

NC server spam email notifications with the template:

From: ORGANIZER NAME via blabla email
To; all attendees
Subject: Invitation updated: EVENT_NAME

headline: ORGANIZER NAME has invited you to EVENT NAME

Attendees receive multiple emails and think there is an important change but only is because some user accepted/declined an instance of the serie.

I think this happens because when someone decline/accept a instance in the recursive event it create a new EVENT with the correspondent RECURRENCE-ID of the serie and this triggers the emails.

I am searching/creating a workaround to avoid spamming emails to all guest when this happens.

If Devs think this should be opened in in nexcloud-server GitHub please tell me and i make a new issue there.

thanks