Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emails are not sent when adding a recipient after an appointment has been created #6566

Open
razerrazer opened this issue Dec 11, 2024 · 8 comments

Comments

@razerrazer
Copy link

razerrazer commented Dec 11, 2024

Steps to reproduce

  1. Create a calendar.
  2. Add some attendees.
  3. Save the meeting.
  4. Click on the meeting, and now add a new attendee. When you do this, no email is sent to the newly added user.

Expected behavior

No email is sent to the attendee who is added after the calendar has been created in the first stage.

Actual behavior

It should send an email to the attendees you add to the event after it has been created.

Calendar app version

5.0.6

CalDAV-clients used

none

Browser

Chrome latest and Firefox latest

Client operating system

Linux mint

Server operating system

Debian

Web server

Nginx

Database engine version

MariaDB

PHP engine version

PHP 8.2

Nextcloud version

30.0.2

Updated from an older installed version or fresh install

Fresh install

List of activated apps

Nextcloud configuration

This is not important

Web server error log

nothing in here.

Log file


Browser log


Additional info

No response

@razerrazer razerrazer added 0. to triage Pending approval or rejection bug labels Dec 11, 2024
@razerrazer razerrazer changed the title Emails are not sent when adding a recipient after a Calendar has been Created Emails are not sent when adding a recipient after a Calendar has been created Dec 11, 2024
@SebastianKrupinski
Copy link
Contributor

Hi @razerrazer

I have some basic question to ask first...

  1. Do you have a system email account setup?
  2. Do you have a mail account setup with the same email address as the calendar organizer?
  3. Is there any errors in the nextcloud.log?

@SebastianKrupinski SebastianKrupinski added needs info and removed 0. to triage Pending approval or rejection labels Dec 11, 2024
@schmaller
Copy link

Btw. the description should not be "... after a calendar has been created..." but "... after an appointment has ...".

Same issue here with with nextcloud 30.0.2 and calendar 5.0.6.
General email settings in nextcloud are tested and working.
Even more strange: when removing an attendee, a cancellation email is sent, but when adding an attendee by email, nothing happens.
There are no errors in any logs.

@SebastianKrupinski
Copy link
Contributor

Tested. Unconfirmed.

I was not able to reproduce your issue.

  • Created an event with one attendee
  • Added second attendee

I do see two outbound messages and added users mailbox does have an invitation.

Image

@razerrazer
Copy link
Author

If you try using multiple email addresses, it sometimes just doesn’t work. I also know that the email server is functioning properly, and the logs aren’t giving me any clues.

I’ll test this further during the day and see what comes up.

@razerrazer razerrazer changed the title Emails are not sent when adding a recipient after a Calendar has been created Emails are not sent when adding a recipient after an appointment has been created Dec 13, 2024
@schmaller
Copy link

For my case, I could track down the problem to the commit nextcloud/server@43ee948 (upgrade to 30.0.0 beta).

Since this commit the CUTYPE=UNKNOWN is categorized as "Room or Resource" and thus no email is sent.
The commit was addressing the issues #3919 and nextcloud/server#38686, but the change of this specific line in code was IMHO off-topic and is now a bug.

@razerrazer , can you check the CUTYPE in your .ics calendar entries?

@SebastianKrupinski
Copy link
Contributor

@schmaller Thank you.

@razerrazer can you confirm the findings? Is it the CUTYPE issue?

@razerrazer
Copy link
Author

If i look in to my event.ics so is the CUTYPE=INDIVIDUAL

@flipb1ts
Copy link

flipb1ts commented Jan 1, 2025

I have this same issue where CUTYPE=UNKNOWN, coming from a calendar entry synced using CalDAV - when the calendar entry is written with CUTYPE=UNKNOWN, the email notifications do not fire because of the categorization of "Room or Resource", and no email is sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants