Skip to content
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

[smtp] add option to send html emails #328

Closed
signebedi opened this issue Jul 22, 2024 · 1 comment
Closed

[smtp] add option to send html emails #328

signebedi opened this issue Jul 22, 2024 · 1 comment

Comments

@signebedi
Copy link
Owner

When we send custom jinja2 emails, it may sometimes make sense to allow emails. We should of course always default to plaintext. Adding html is, in theory, as simple as running

                msg.attach(MIMEText(content, 'html'))
@signebedi signebedi changed the title Add option to send html emails [smtp] add option to send html emails Jul 22, 2024
@signebedi
Copy link
Owner Author

This is now the default behavior. There may be some difficulties, so we'll test the email config, which now default to HTML. Existing instances will need to update their email configurations. This issue is related to #284.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant