-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Missing setting to send welcome mail when creating a user #11172
Comments
GitMate.io thinks possibly related issues are #8377 (Missing email field when admin create/add new user), #1011 (Error while re-creating a user), #3346 (Left shadow in app-navigation missing from user settings), #10916 (Unable to set quota when adding a new user), and #4654 (Missing expected parameters in change user hook when setting avatar). |
@nickvergessen can you please add this setting again? |
@skjnldsv was there a discussion about this, or just an accident like the "Add group" thingy? |
@nickvergessen Nope, I remember a discussion about this. |
That is a very bad consideration! Why do not you want the users to decide whether to send an email or not? Please add this setting again. |
Is it still possible that the email settings comes back in NC14? In the RC1 is not there. |
No, it will be part of 14.0.2, if someone does it |
Still not fixed in 14.0.2 RC1 |
@nickvergessen no it will not as this is the default behaviour that people wanted when the discussion was on iirc. |
Why removing a feature like this anyway? If one wants an email, it can be enabled in the setting - so where was the problem just leaving the feature as it was in NC13? |
Is there any news as to whether the problem is resolved? Or will this no more fixed in this version? Please let us know. |
Please confirm my assumption: The e-mail will only be sent, if there is no password for the user - otherwise no e-mail will be sent, right? In this case indeed the option makes no sense. Why should anyone create a new user without setting a password and does not want to get the user told the automatically created password via e-mail? If you want to avoid e-mails getting sent, just enter a password for new users when creating them, right? |
Here is a scenario: As an administrator you would like to prepare all users in the Nextcloud administration before a specific event, launch or rollout date. It would be very elegant if you don't have to create a password for every user and you could send the welcome mail at a later date or time so all users could set their passwords independently. |
@jonasgarstick In fact is not possible to manually create users without password when the option "send e-mail to new user" is turned off in NC 13. But in this case, you also can not add an e-mail address, only username and password: In fact you have to add the e-mail address later in the user details. |
I'm in the same situation as @jonasgarstick describes: I'm currently setting up a new server for a professional association and I need to prepare the users now, while the nextcloud instance is not even publically available. Still, whenever I add a user, nextcloudl will send this annoying welcome mail to (future!) users who do not even know me and who have NOT agreed to receive such mails from me. A similar situation happened to me on my day job, where we license a set of parameters from PIA Kaiserslautern and they simply set up a Nextcloud account and shared the data. However, the welcome mail seemed VERY UNPROFESSIONAL to me.
Altogether, to me this was a very unprofessional episode of a Nextcloud encounter in my office job and it is mainly due to NextCloud sending those invitations automatically. In my situation all it did was to confuse me and shed a bad light on the other company. So, please make it possible again to suppress those welcome messages. There are several scenarios where you do not want these messages sent by NextCloud, either because you don't want to inform your users yet, or because you need to contact them via other means anyway with additional information. |
@kainhofer An email is only sent, when you don't add a password - otherwise the users would not be able to login. So a workaround is to add a password as well when creating the users. You have to tell the users the password anyway. Edit: I stand corrected. Indeed the e-mail is sent even if you set the password manually. In this case I also vote for bringing this feature back. |
I want it still back too. |
I want it back too ! If you don't want mails to be sent, you can enter a wrong password in the mail server parameters. Not pretty, but works... |
In our case, it would be very important to be able to disable the welcome message, as it brings an unwanted information disclosure to the users. The Problem here:
Right now, I had to enter invalid Email credentials into the nextcloud settings to prevent it from sending mails. That is unfortunate and not elegant, because it disables all mail notifications. I do not really understand what the problem of this setting is, anyway. If a majority is not using it, or if this would be a bad default, this still does not make it a useless setting as long as a sensible default value is chosen. I would be fine, even prefer, with this setting being exposed in the config.php and not the user interface. |
we have more or less a mixed workflow explained by @Tom31100 and @noresistence to create users via API:
That's not really elegant but it works... IMHO, Nextcloud should have a global setting to create user without welcome email (and without password when SSO is used). @nickvergessen @skjnldsv If your agree to add this setting, I can PR the feature this week by:
|
@DylannCordel thanks for the help :)
I can already tell you we will not go this way :/ Regarding this old issue, we should probably take position here. @jancborchardt what about a config toggle on the inline form (three dot menu and checkbox) to enable/disable (and remember) the setting (which is enabled by default) This will go with :
|
@skjnldsv that sounds like a good solution. 👍 |
This comment has been minimized.
This comment has been minimized.
Current status is still the last 2 comments of @skjnldsv and me. Just waiting for someone to pick it up, maybe one of the people in this thread? :) |
I have a question slightly related to this. If you are using LDAP auth and add SMTP info, will it automatically send welcome emails to existing users? Or when new users are automatically pulled into Nextcloud? |
This comment has been minimized.
This comment has been minimized.
@jancborchardt where should we put this menu? |
We already have the settings menu on the users page (bottom left navigation). You can set a default quota there. Settings the email flag there should be good enough |
That is what I wanted to go for, but …
🤷♂️ |
As this is a one time thing it's good enough? |
I might also just do it there. Simple reason is that we want to backport it to older versions. And I don't see myself backporting a restructuring of the form. |
Where should we persist it? System config? User config? Or just locally in the browser? |
@ChristophWurst the setting to send emails to new users should be persistet in the system config. |
Wow, thanks it seems the setting to enable/disable Email Welcome Mail to be back. Great work! |
I am missing the setting to disable/enable to send a welcome mail when creating a user.
Currently, an email is always sent, whether you want it or not.
In Nextcloud 13:
In Nextcloud 14:
Please bring back the setting that the admin can disable/enable the welcome mail.
Server configuration
Operating system: Debian 9
Web server: Apache2.4
Database: MariaDB
PHP version: PHP7.0
Nextcloud version: 14.0.0
Updated from an older Nextcloud/ownCloud or fresh install: Updated from 13.0.6 and fresh install.
Where did you install Nextcloud from:
The text was updated successfully, but these errors were encountered: