Describe the bug
I've configured an SMTP server in the .env. Also ever user has a valid email-address.
Now, e.g. when sharing a file, no e-mail is sent.
Docker compose setup ("opencloud_full").
Steps to reproduce
- Configure SMTP server in
.env
- Create users with valid e-mail addresses.
- Share a file with another user
Expected behavior
The user who receives the share should get an e-mail.
Actual behavior
No e-mail is sent.
Setup
.env:
Details
SMTP_HOST=xxx.netcup.net
# Port of the SMTP host to connect to.
SMTP_PORT=587
# An eMail address that is used for sending OpenCloud notification eMails
# like "opencloud notifications <[email protected]>".
[email protected]
# Username for the SMTP host to connect to.
[email protected]
# Password for the SMTP host to connect to.
SMTP_PASSWORD=xxx
# Authentication method for the SMTP communication.
SMTP_AUTHENTICATION=auto
# Allow insecure connections to the SMTP server. Defaults to false.
SMTP_INSECURE=true
Using plain for SMTP_AUTHENTICATION doesn't change anything.
Error in docker logs opencloud_full-opencloud-1:
{"level":"error","service":"notifications","error":"530 5.7.0 Must issue a STARTTLS command first","event":"SendEmail","time":"2025-03-28T18:40:17Z","line":"github.com/opencloud-eu/opencloud/services/notifications/pkg/service/service.go:158","message":"failed to send a message"}
Describe the bug
I've configured an SMTP server in the
.env. Also ever user has a valid email-address.Now, e.g. when sharing a file, no e-mail is sent.
Docker compose setup ("opencloud_full").
Steps to reproduce
.envExpected behavior
The user who receives the share should get an e-mail.
Actual behavior
No e-mail is sent.
Setup
.env:
Details
Using
plainforSMTP_AUTHENTICATIONdoesn't change anything.Error in
docker logs opencloud_full-opencloud-1: