Baikal icon indicating copy to clipboard operation
Baikal copied to clipboard

Client invitations do not work when invite_from is empty

Open Lars-Diehl opened this issue 4 years ago • 4 comments

Baikal version: 0.7.1

Expected behaviour: When the "Email invite sender address" (invite_from property) is left empty email clients should handle invitations by themselves.

Current behaviour: Even when invite_from is empty the \Sabre\CalDAV\Schedule\Plugin is loaded. This causes clients to think Caldav will take care of the invitations which is not the case.

Therefore - IMO - \Sabre\CalDAV\Schedule\Plugin should not be enabled when invite_from is empty.

Lars-Diehl avatar Sep 08 '20 13:09 Lars-Diehl

Baikal already checks if the address is empty:

https://github.com/sabre-io/Baikal/blob/9ea671b98fec90386390323fdfc401ce5d9cb369/Core/Frameworks/Baikal/Core/Server.php#L176

ByteHamster avatar Oct 18 '20 11:10 ByteHamster

In order to make it work correctly in my environment I also needed to disable the

 $this->server->addPlugin(new \Sabre\CalDAV\Schedule\Plugin());

plugin.

Lars-Diehl avatar Oct 19 '20 06:10 Lars-Diehl

Hi, I have the same issue.

I'm using Baikal 0.8.0

I have added and email address to the invite_from variable in the baikal.yaml config file. When in os Calendar App, i invite an user using their email adddres. Nothing happens, there are no errors in the error log. But no emial invite is sent to the invitee

How can I configure this?

Thanks in advance

Currently this is set up on my localhost with mysql as the db, if that helps?

10029759 avatar Feb 02 '21 11:02 10029759

Same problem here. I'm running baikal 0.9.2 in amazon linux 2. I've tested that i can send emails with php mail function but when i create an event in baikal no invitation is sent.

In order to make it work correctly in my environment I also needed to disable the

 $this->server->addPlugin(new \Sabre\CalDAV\Schedule\Plugin());

plugin.

I tried this but still no email is sent.

Vardor avatar Sep 16 '22 05:09 Vardor

Baikal uses the php mail() function to send emails. On some hosters that might not be possible. Follow #937 for SMTP mail delivery.

ByteHamster avatar Dec 04 '22 11:12 ByteHamster