-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: mail provider settings #48134
base: master
Are you sure you want to change the base?
feat: mail provider settings #48134
Conversation
SebastianKrupinski
commented
Sep 17, 2024
- Resolves: #Calendar invites: Administrator shall choose if server's or user's email address is used #5080
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config.sample.php needs an update
'section_id' => 'server', | ||
'storage_type' => DeclarativeSettingsTypes::STORAGE_TYPE_EXTERNAL, | ||
'title' => $this->l->t('System Mails'), | ||
'description' => $this->l->t('System e-mails are messages generated automatically by Nextcloud. They are sent for example when a share is created or when inviting attendees to a calendar event..'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are sent for example when a share is created
I find it weird to use "share is created" as an example because we don't use the mail provider there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what design wanted...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm quite sure that design wanted a description of what the feature actually does. I can't imagine that design asked you to mention in the description that this feature toggle affects the behavior of the sharebyemail provider, whereas it doesn't affect it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, if we don't use the mail provider there than the example is wrong and we should change it to something that is actually affected by the setting
04d3529
to
cce92cc
Compare
9d2d55c
to
da9179b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ from design
'section_type' => DeclarativeSettingsTypes::SECTION_TYPE_ADMIN, | ||
'section_id' => 'server', | ||
'storage_type' => DeclarativeSettingsTypes::STORAGE_TYPE_EXTERNAL, | ||
'title' => $this->l->t('System Mails'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to use Mail Providers instead of System Mails. System Mails can mean anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what design approved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I spoke with Marco, and he's okay with adjusting the text to make the feature easier to understand.
'section_id' => 'server', | ||
'storage_type' => DeclarativeSettingsTypes::STORAGE_TYPE_EXTERNAL, | ||
'title' => $this->l->t('System Mails'), | ||
'description' => $this->l->t('System emails are automatically generated by Nextcloud when people perform actions like inviting others to calendar events.'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about:
Nextcloud 30 introduced a feature called mail provider to send emails through the user's personal email account when possible. Currently, it only works with calendar invitations. You need Nextcloud 30, Nextcloud Mail 4.1 and there must be an email account in Nextcloud Mail matching the email address of the user in Nextcloud.
I think we should try to explain what's necessary to make the feature work. The requirements Mail 4.0 + a matching email account should be explained somewhere, how should a user otherwise know how it works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have some documentation for https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be documented once it is actual merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it would be really helpful to adjust the description here, making the function easier to understand.
The Linter is failing. |
config.sample.php update no longer required
da9179b
to
293cc53
Compare
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
293cc53
to
f922723
Compare