You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For compliance with data protection laws in certain situations, it can be necessary to have the full privacy statement of the service as a part of the registration email.
It's already possible to pass a custom body in the verification email using the "Verification email instructions" setting, but that is only made for small strings without any formatting.
Since privacy statements can be quite long, it would be great to be able to use proper formatting for that and pass some HTML to add to the email. Maybe the "Verification email instructions" field could be changed to allow HTML, or maybe a separate field for a custom footer could be added?
Would this be in scope for the app? If yes, I'd be happy to work on a patch for this.
The text was updated successfully, but these errors were encountered:
jonas2515
changed the title
Allow adding a custom HTML body to registration emails
Allow adding custom HTML to verification emails
Oct 16, 2023
Thanks, nextcloud/server#38093 looks quite interesting, and I definitely see why it's tricky, especially when the HTML comes directly from the user (then again in this case it comes from the admin, so one could argue in this case it doesn't necessarily need sanitizing).
Markdown would work if the resulting text would be left- or right-aligned instead of centered. On the one hand using markdown feels a bit weird given that we're on the web and we're putting together a HTML email here, but on the other hand it would make a ton of sense for generating plaintext emails (could just use the markdown-text directly) and also to support custom style templates for emails. So yeah, on first thought markdown sounds like a more sensible approach to me.
For compliance with data protection laws in certain situations, it can be necessary to have the full privacy statement of the service as a part of the registration email.
It's already possible to pass a custom body in the verification email using the "Verification email instructions" setting, but that is only made for small strings without any formatting.
Since privacy statements can be quite long, it would be great to be able to use proper formatting for that and pass some HTML to add to the email. Maybe the "Verification email instructions" field could be changed to allow HTML, or maybe a separate field for a custom footer could be added?
Would this be in scope for the app? If yes, I'd be happy to work on a patch for this.
The text was updated successfully, but these errors were encountered: