Baikal
Baikal copied to clipboard
Client invitations do not work when invite_from is empty
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.
Baikal already checks if the address is empty:
https://github.com/sabre-io/Baikal/blob/9ea671b98fec90386390323fdfc401ce5d9cb369/Core/Frameworks/Baikal/Core/Server.php#L176
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.
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?
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.
Baikal uses the php mail()
function to send emails. On some hosters that might not be possible. Follow #937 for SMTP mail delivery.