nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
981 stars 241 forks source link

Calendar doesn't send e-mail #3681

Open abachtold opened 2 years ago

abachtold commented 2 years ago
### Steps to reproduce 1. Invite people without a account for an event in the calendar. So that they can accept the invite. ### Expected behaviour People receive an e-mail with the invite. If they could answer "I'll go" or anything like that ### Actual behaviour It sends to people registered on my nextcloud but doesn't for people outside of it. And my SMTP configuration is working. ### Calendar app Calendar 2.3.4 ### Client configuration **Browser:** Firefox 94.0.1 **Operating system:** Windows 10 ### Server configuration **Operating system**: Debian 10 - Buster **Web server:** Nginx **Database:** MariaDB **PHP version:** 7.3.31-1 **Nextcloud Version:** 22.2.0 Fresh **List of activated apps:** `Enabled: - accessibility: 1.8.0 - activity: 2.15.0 - apporder: 0.13.0 - audioplayer: 3.2.2 - bruteforcesettings: 2.2.0 - calendar: 2.3.4 - checksum: 1.1.2 - circles: 22.1.1 - cloud_federation_api: 1.5.0 - comments: 1.12.0 - contacts: 4.0.6 - contactsinteraction: 1.3.0 - dashboard: 7.2.0 - dav: 1.19.0 - encryption: 2.10.0 - event_update_notification: 1.3.0 - extract: 1.3.2 - federatedfilesharing: 1.12.0 - federation: 1.12.0 - files: 1.17.0 - files_pdfviewer: 2.3.1 - files_retention: 1.11.1 - files_rightclick: 1.1.0 - files_sharing: 1.14.0 - files_trashbin: 1.12.0 - files_versions: 1.15.0 - files_videoplayer: 1.11.0 - groupfolders: 10.0.0 - integration_openproject: 1.0.6 - logreader: 2.7.0 - lookup_server_connector: 1.10.0 - metadata: 0.14.0 - nextcloud_announcements: 1.11.0 - notifications: 2.10.1 - oauth2: 1.10.0 - onlyoffice: 7.2.0 - password_policy: 1.12.0 - photos: 1.4.0 - printer: 0.0.5 - privacy: 1.6.0 - provisioning_api: 1.12.0 - quota_warning: 1.11.0 - rainloop: 7.1.2 - ransomware_protection: 1.11.0 - recommendations: 1.1.0 - serverinfo: 1.12.0 - settings: 1.4.0 - sharebymail: 1.12.0 - sharerenamer: 2.7.3 - side_menu: 2.0.1 - spreed: 12.1.2 - support: 1.5.0 - survey_client: 1.10.0 - suspicious_login: 4.0.0 - systemtags: 1.12.0 - text: 3.3.0 - theming: 1.13.0 - theming_customcss: 1.10.0 - twofactor_backupcodes: 1.11.0 - twofactor_totp: 6.1.0 - updatenotification: 1.12.0 - user_status: 1.2.0 - viewer: 1.6.0 - weather_status: 1.2.0 - whiteboard: 0.0.3 - workflowengine: 2.4.0 Disabled: - admin_audit - appointments - breezedark - dropit - epubreader - files_clipboard - files_external - firstrunwizard - mail - notes - quicknotes - tasks - timemanager - user_ldap ` **Nextcloud configuration:** ```{ "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "22.2.3.0", "overwrite.cli.url": , "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "app_install_overwrite": [ "appointments", "quicknotes", "files_reader", "apporder", "epubreader", "printer", "whiteboard", "dropit", "files_clipboard", "bruteforcesettings", "rainloop", "sharerenamer", "breezedark" ], "default_language": "pt_BR", "default_locale": "pt_BR", "default_phone_region": "BR", "maintenance": false, "simpleSignUpLink.shown": false, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpauth": 1, "mail_smtpauthtype": "LOGIN", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "knowledgebaseenabled": false, "theme": "", "loglevel": 2, "trashbin_retention_obligation": "auto, 30", "twofactor_enforced": "false", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [ "admin" ], "updater.secret": "***REMOVED SENSITIVE VALUE***" } ```
tcitworld commented 2 years ago

Possibly a regression related to https://github.com/nextcloud/server/pull/28997 ? @miaulalala @st3iny

miaulalala commented 2 years ago

Maybe. @abachtold are you using gmail for your smtp config perchance?

ModestTG commented 2 years ago

I think this might be a problem simply with gmail. I am having the same issues (details in #3680) where the calendar invite is not being sent, but this appears to be, in my testing, only when sending emails to individuals at gmail potentially. When I try, I am getting dmarc reports from Google. I tested creating an event and sending to a different domain and was able to receive the invite fine. I have my own SMTP server for sending the email. I am not using gmail for SMTP.

I haven't tested sending to other major domains (hotmail.com, yahoo.com, any corporate tld), but hopefully this insight is helpful. Since almost everyone in my contacts list uses gmail, I currently have no way to send out invites to my contacts.

abachtold commented 2 years ago

Sorry for the long delay in my response. I'm using gmail for my SMTP. I didn't think of it because it works for the system e-mails, but I'll make a SMTP server and try changing the configuration to test that. Thanks.

MikiVanousek commented 2 years ago

I have the same issue.

ChristophWurst commented 2 years ago

Just add you :+1: to the original reprot @MikulasVanousek. No need to trigger a notification for lots of people ;-)