nextcloud / mail

đź’Ś Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
830 stars 257 forks source link

Meetings can not importet from an Invitation mail #8335

Open eswolferl opened 1 year ago

eswolferl commented 1 year ago

Steps to reproduce

1.Invitationmail is incoming 2.push the button import in to calendar 3.not working

Expected behavior

it should imported into calendar

Actual behavior

Appointment invitations cannot be accepted or the option of importing ICS into the calendar does not work from mail.

Mail app version

last

Mailserver or service

strato

Operating system

linux on a webserver

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

thstyl2000 commented 1 year ago

Maybe something is very wrong, or I am completely blind: I don't even see an "import" button: (I am on NC v26.0.1. and Mail v3.1.1)

Screenshot_20230424_102433

thstyl2000 commented 1 year ago

Is that feature working in general...?

eswolferl commented 1 year ago

Hello,

I don't know. I found it. And it's not working.

Greetings

Wolfgang Kohlschuetter

thstyl2000 @.***> schrieb am Fr., 5. Mai 2023, 07:02:

Is that feature working in general...?

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/mail/issues/8335#issuecomment-1535697197, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS2C53FDCISOBHXBS5SPQ63XESCV7ANCNFSM6AAAAAAWUAGPYA . You are receiving this because you authored the thread.Message ID: @.***>

Fomys commented 1 year ago

Hi, I have the same issue here, thunderbird detect and can accept the invitation, but online nextcloud mail client don't show the "accept" button. Maybe I miss a setting like "Enable invitation import" somewhere.

ChristophWurst commented 1 year ago

Do you have an email address set in Nextcloud's personal settings?

thstyl2000 commented 1 year ago

I do.

Fomys commented 1 year ago

I do too. It's managed by SAML, but I can see it on the page "Personnal settings". I don't know if it's important, but the invitation is not sended to this address (I have personal@fomys.com in my settings, the invitation is for pro@myname.com). But both address are configured in the mail application.

ChristophWurst commented 1 year ago

https://github.com/nextcloud/mail/blob/16c8eefb95811fce4fb1c7e0ae440a60b95b2b3d/src/components/Imip.vue#L26 the buttons only show for real imip requests, not for any event ics.

Export the message source, redact and share it.

thstyl2000 commented 1 year ago

Here it is (not the same one as above, a similar one). It is not happening rarely, since these messages originate from an exchange server (not really sure what version). And if I remember correctly, it used to work with some previous version of the app.

source.txt

Beleggrodion commented 1 year ago

I had the same issue.

For testing purpose i created three dummy users. User A (Max Mustermann) is configured under thunderbird with the tbsync extension. I created a appointment and invite User B (Peter Lustig) and User C (Gundel Gaukeley) to this event. Both receive the invation mail in the Mail App. I pressed the "accept" button on both via Mail App. The Button disapears on User B and C with the message, that the invation is already accepted. But the appointment is not visible on the pesonal calendar of both users.

sample_mail_screen

Also I can press on both account the manual import of the ics but nothing happens. The Ajax Request is triggered an the answer is the following (User C):

<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns"><d:response><d:href>/remote.php/dav/calendars/gundel.gaukeley/</d:href><d:propstat><d:prop><d:acl><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-read/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace></d:acl><d:owner><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:owner></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><cal:calendar-description/><cal:calendar-timezone/><x1:calendar-order xmlns:x1="http://apple.com/ns/ical/"/><x1:calendar-color xmlns:x1="http://apple.com/ns/ical/"/><cal:supported-calendar-component-set/><oc:calendar-enabled/><oc:invite/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/calendars/gundel.gaukeley/personal/</d:href><d:propstat><d:prop><d:displayname>Persönlich</d:displayname><x1:calendar-order xmlns:x1="http://apple.com/ns/ical/">0</x1:calendar-order><x1:calendar-color xmlns:x1="http://apple.com/ns/ical/">#d3a967</x1:calendar-color><cal:supported-calendar-component-set><cal:comp name="VEVENT"/></cal:supported-calendar-component-set><oc:calendar-enabled>1</oc:calendar-enabled><d:acl><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-read/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-read/</d:href></d:principal><d:grant><d:privilege><d:write-properties/></d:privilege></d:grant><d:protected/></d:ace></d:acl><d:owner><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:owner><oc:invite><oc:user><d:href>principal:principals/groups/Mustermann+AG</d:href><oc:common-name>Mustermann AG</oc:common-name><oc:invite-accepted/><oc:access><oc:read-write/></oc:access></oc:user></oc:invite></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><cal:calendar-description/><cal:calendar-timezone/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/calendars/gundel.gaukeley/personal_shared_by_max.mustermann/</d:href><d:propstat><d:prop><d:displayname>Persönlich (Max Mustermann)</d:displayname><x1:calendar-order xmlns:x1="http://apple.com/ns/ical/">0</x1:calendar-order><x1:calendar-color xmlns:x1="http://apple.com/ns/ical/">#795AAB</x1:calendar-color><cal:supported-calendar-component-set><cal:comp name="VEVENT"/><cal:comp name="VTODO"/></cal:supported-calendar-component-set><oc:calendar-enabled>0</oc:calendar-enabled><d:acl><d:ace><d:principal><d:href>/remote.php/dav/principals/users/max.mustermann/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/max.mustermann/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/max.mustermann/calendar-proxy-read/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/max.mustermann/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/max.mustermann/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/max.mustermann/calendar-proxy-read/</d:href></d:principal><d:grant><d:privilege><d:write-properties/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace></d:acl><d:owner><d:href>/remote.php/dav/principals/users/max.mustermann/</d:href></d:owner><oc:invite/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><cal:calendar-description/><cal:calendar-timezone/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/calendars/gundel.gaukeley/personal_shared_by_peter.lustig/</d:href><d:propstat><d:prop><d:displayname>Persönlich (Peter Lustig)</d:displayname><x1:calendar-order xmlns:x1="http://apple.com/ns/ical/">0</x1:calendar-order><x1:calendar-color xmlns:x1="http://apple.com/ns/ical/">#0082C9</x1:calendar-color><cal:supported-calendar-component-set><cal:comp name="VEVENT"/><cal:comp name="VTODO"/></cal:supported-calendar-component-set><oc:calendar-enabled>0</oc:calendar-enabled><d:acl><d:ace><d:principal><d:href>/remote.php/dav/principals/users/peter.lustig/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/peter.lustig/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/peter.lustig/calendar-proxy-read/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/peter.lustig/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/peter.lustig/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/peter.lustig/calendar-proxy-read/</d:href></d:principal><d:grant><d:privilege><d:write-properties/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:write/></d:privilege></d:grant><d:protected/></d:ace></d:acl><d:owner><d:href>/remote.php/dav/principals/users/peter.lustig/</d:href></d:owner><oc:invite/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><cal:calendar-description/><cal:calendar-timezone/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/calendars/gundel.gaukeley/inbox/</d:href><d:propstat><d:prop><d:acl><d:ace><d:principal><d:authenticated/></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:write-properties/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:unbind/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:unbind/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:authenticated/></d:principal><d:grant><d:privilege><cal:schedule-deliver/></d:privilege></d:grant><d:protected/></d:ace></d:acl><d:owner><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:owner></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><cal:calendar-description/><cal:calendar-timezone/><x1:calendar-order xmlns:x1="http://apple.com/ns/ical/"/><x1:calendar-color xmlns:x1="http://apple.com/ns/ical/"/><cal:supported-calendar-component-set/><oc:calendar-enabled/><oc:invite/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/calendars/gundel.gaukeley/outbox/</d:href><d:propstat><d:prop><d:acl><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-read/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><d:read/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:principal><d:grant><d:privilege><cal:schedule-send/></d:privilege></d:grant><d:protected/></d:ace><d:ace><d:principal><d:href>/remote.php/dav/principals/users/gundel.gaukeley/calendar-proxy-write/</d:href></d:principal><d:grant><d:privilege><cal:schedule-send/></d:privilege></d:grant><d:protected/></d:ace></d:acl><d:owner><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:owner></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><cal:calendar-description/><cal:calendar-timezone/><x1:calendar-order xmlns:x1="http://apple.com/ns/ical/"/><x1:calendar-color xmlns:x1="http://apple.com/ns/ical/"/><cal:supported-calendar-component-set/><oc:calendar-enabled/><oc:invite/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/calendars/gundel.gaukeley/trashbin/</d:href><d:propstat><d:prop><d:acl><d:ace><d:principal><d:href>/remote.php/dav/{DAV:}owner/</d:href></d:principal><d:grant><d:privilege><d:all/></d:privilege></d:grant><d:protected/></d:ace></d:acl><d:owner><d:href>/remote.php/dav/principals/users/gundel.gaukeley/</d:href></d:owner></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><cal:calendar-description/><cal:calendar-timezone/><x1:calendar-order xmlns:x1="http://apple.com/ns/ical/"/><x1:calendar-color xmlns:x1="http://apple.com/ns/ical/"/><cal:supported-calendar-component-set/><oc:calendar-enabled/><oc:invite/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>

I see their a 404 answer for some informations, so perhaps their is the problem?

Each User has configured the correct mail adress which is configured in the profile and used in the Mail App.

I also added the mail source (exported it from the mail app end edited to remove some informations)

sample1.eml.txt

beccon4 commented 11 months ago

A mayor release later the issue still exists in the current 3.4.0:

Expected behaviour: The invitation email arrives and the client recognises the attached ical. It also shows the correct dates and times.

grafik

Then I want to include this invitation in my calendar. There is no "Add to calendar" button - so i look for it in the ... menu and find "Termin erstellen" - Create Appointment. Klick on it and a screen appears showing the current date and time - not the one of the appointment.

grafik

Before i can do anything, the form disappears.

Expected behaviour:

Beleggrodion commented 11 months ago

I think no one of the dev's is intrested in this issue, or think this is not an issue?

Currently for me the connection between the mail app and calendar app with interoperability with other plattforms (exchange, google, etc.) is not existent. I found #160 with #6782 (which has screen of some accept and decline button) but the features which are described there are also missing.