calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Disabling "Send email" does not stop nc from sending email invitations to attendee

Open pboguslawski opened this issue 2 years ago • 1 comments

Steps to reproduce

Create event in nc calendar UI with attendee [email protected] and (before saving such event) press "..." by the [email protected] and uncheck "Send email" checkbox there. Save event.

Expected behavior

After saving/updating/removing event e-mail messages should not be sent to attendees with "Send email" option disabled.

Actual behaviour

E-mail messages with calendar events are sent to all attendees regardless of "Send email" option state.

Calendar app version

3.4.0

CalDAV-clients used

No response

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

No response

Database engine version

No response

PHP engine version

No response

Nextcloud version

24.0.2

Updated from an older installed version or fresh install

No response

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

pboguslawski avatar Jul 14 '22 13:07 pboguslawski

I think there is another ticket about this but I'm unable to find it right now

ChristophWurst avatar Jul 14 '22 14:07 ChristophWurst

There is at least a stale issue in the NC server here: nextcloud/server#26561, right now I also did not find an issue here in the calendar app.

I think the point is a misinterpretation -- or different possible interpretations -- of the RSVP parameter for the attendees. It is documented (AFAIK) to designate the expectation of the organizer "Please reply to my invitation", but this might not automatically imply that email notifications are not sent -- it is just that the organizer does not expect replies to those notifications.

If one browses through the NC server CalDAV code then luckily there are only very few lines of code which deal with the RSVP, e.g.:

https://github.com/nextcloud/server/blob/8ee52d35b82541381d23779bdce77450311166a6/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php#L262-L263

and

https://github.com/nextcloud/server/blob/8ee52d35b82541381d23779bdce77450311166a6/apps/dav/lib/CalDAV/Schedule/Plugin.php#L212-L217

The first quoted lines disable the response buttons in the notification email (i.e. RSVP=FALSE receives notifications) and the second location seems to deal with responses sent by RSVP=FALSE attendees (which are ignored).

So: this is somehow a bug as the ideas about what the RSVP parameter implies seem to differ between the Nextcloud server back-end and this calendar app. So in case one accepts the RSVP handling of the NC server, then simply the label of the menu item is wrong, as it raises the expectation that the notifications to the attendees are controlled which is not the case. Instead in the server backend RSVP somehow controls whether participants are "allowed" to reply to an invitation.

Just writing this now as I was considering just now to somehow manage a list of persons absent from rehearsals and stumbled over this nice button in the front-end to then find that the NC server back end has another idea about RSVP.

So I would be happy if the menu label could be changed to "Request Confirmation" or something, meaning "Request a reply from the notified attendee".

The other possibility would be to change the behaviour of the NC CalDAV server code ;)

rotdrop avatar Mar 28 '23 22:03 rotdrop

I agree that this is at least a nuisance. I want to add a participant to a calender without sending an invitation. I do not want to disturb with a complete invitation as he is already on board. I just want to use the reminder function. I do not understand the rational of the tick box "Send an e-mail" that is already ticked when I add the participant. I would like to choose if I want the inc´vitation to be sent or not.

rollanders avatar Mar 29 '23 19:03 rollanders

I agree that this is at least a nuisance. I want to add a participant to a calender without sending an invitation. I do not want to disturb with a complete invitation as he is already on board. I just want to use the reminder function. I do not understand the rational of the tick box "Send an e-mail" that is already ticked when I add the participant. I would like to choose if I want the inc´vitation to be sent or not.

Isn't this a bit off topic? The first thing would be to clarify what and why this menu item does what it does. Another point would be to have it checked by default or not. ATM, it would not do what you want even if it would not be checked by default.

rotdrop avatar Mar 29 '23 19:03 rotdrop

Sorry. I think the calender does what I want but it also do things I do not want. I want to be able to add participants without sending out an invitation. The participant will just get confused and does not understand what todo with it. I want to choose befoehand if this invitations should be sent or not. For the moment I do not understand the purpose of the checkbox Send e-mail, as the invitation was already sent before I could uncheck it. In my usecase I just want the calender to send reminders about the event to the participants, and that function works OK.

The manual sais: You may also change the level of participation per attendees, or disable the email information for a specific attendee.

But I cannot as the invitation is sent immediately as I add the participant. Maybe I can try adding more than one and then change this setting?

rollanders avatar Mar 30 '23 10:03 rollanders

Maybe I found a solution? In the Groupware settings, I can deactivate Sent invitation to attendees. It seems to work.

rollanders avatar Mar 30 '23 16:03 rollanders