U4-11066 - Make SMTP configuration part of the install process

Created by Matt Brailsford 06 Mar 2018, 10:05:02 Updated by Sebastiaan Janssen 07 Mar 2018, 08:31:52

Tags: Up For Grabs

As some key features in Umbraco such as password reset need the ability to send emails, it's not immediately obvious to newcomers that these need to be set in the web.config. For clarity, it might be nice to make these fields in the install process with a note to say "these can be changed at a later date in the web.config" or the likes?

Comments

Sebastiaan Janssen 06 Mar 2018, 11:46:57

I like the suggestion but I think it seems unrealistic to expect someone who's just installing Umbraco to have already selected a SMTP provider. Also, we already disable the password reset link if the SMTP settings are set to default and we have a healthcheck for this.

I'm not sure this would really help anyone except for the one person on Twitter who's browser is apparently playing tricks on them. Happy to be proven wrong!


Matt Brailsford 06 Mar 2018, 11:51:41

Yea, I saw it being part of an "advanced" option. I guess the main thing is it's not really visible anywhere, so nothing in the back office either. I wonder if, on local, if there is no SMTP configured, forgot password links etc are displayed, but the popup a message to say SMTP isn't configured and a link to how to configure it. How can we make the configuration more visible?


Matt Brailsford 06 Mar 2018, 11:53:27

PS agreed the health check is a good thing, but I don't think people would think to run it on install. It's generally something you run when you are about ready to go live.


Sebastiaan Janssen 06 Mar 2018, 11:59:29

The forgot password option is not available when you don't update your SMTP settings ;-)

I guess there's more of a need these days now that we're also sending mails for inviting users.

Maybe it can then at least link to providers that can set up a free account like MailJet and SendGrid.


Matt Brailsford 06 Mar 2018, 12:05:22

@sebastiaan "The forgot password option is not available when you don't update your SMTP settings ;-)" yea, i'm suggesting show it but link to info on how to configure SMTP (just an idea).

I'm not precious about how it's best to present this, but yea, better visibility would be great.


Pete Duncanson 06 Mar 2018, 13:12:23

A warning box on any area where you might need SMTP setup seems like a sensible option to me. Would make a nice simple AngularJS directive for reuse?


Sebastiaan Janssen 07 Mar 2018, 08:31:52

yea, i'm suggesting show it but link to info on how to configure SMTP

We should never show something that we know for certain will fail. We could disable the link and have an "info" text saying something like: please contact your system admin to help enable password resets.

There is no nice Angular directive and I'm not sure there would be. I imagine a cascade of package-spawned warnings each time you open the backoffice. :-)


Priority: Normal

Type: Feature (request)

State: Open

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: