-
Notifications
You must be signed in to change notification settings - Fork 8
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
Please make confirmation email "from" address configurable #5
Comments
While I agree with everything you said, (correct me if I'm missing anything) exposing a setting on the admin side is only available through module configurations. There isn't any control center where we can change these settings. This would mean either:
|
@abdusco, I don't follow you here - maybe you meant to comment on the other issue (WireMail feature request)? LoginRegister is already a configurable module - it just needs a field for "Confirmation email 'from' address" and to use that in As for making the default WireMail from address configurable, this can just be a setting in config.php, e.g. |
Yeah, I noticed it after posting the comment, but didn't want to duplicate the comment there.
I was thinking of a settings page that only users with a certain permissions can use. Developers can expose certain settings for modification, similar to ModuleConfig class, but without any ties to page structure, and settings stored as JSON, for example. This way we don't have to create trivial, single-use fields for checkboxes, textboxes etc. But yours is much easier. |
Do you mean you would want to give non-superusers access to this? Because for superusers there is already the ProcessWireConfig module. |
LoginRegister sends the confirmation email with no explicit "from" address, meaning WireMail falls back to the $config->adminEmail address when one is defined.
But the adminEmail address is for receiving error notices, so it is usually the address of the developer - this is not the address that confirmation emails should be coming from. Could you please add a config field for the module to define the default address, like what is available in the Forgot Password module? Thanks.
I don't think WireMail should be falling back to $config->adminEmail at all, for the same reason: it's usually not the developer who should be perceived as the sender of emails, but should be some generic address associated with the website domain. So I'll open a feature request separately to have a configurable default "from" address for WireMail also.
The text was updated successfully, but these errors were encountered: