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

Add MAIL_DEBUG_BODY and modify the behaviour of MAIL_DEBUG #875

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

nledez
Copy link
Contributor

@nledez nledez commented Oct 18, 2024

Problem
Can't debug mail sending when have MAIL_DEBUG=1 in configuration

Solution

  • Modify the behaviour of MAIL_DEBUG for transmit parameter to Flask-mail
  • Add MAIL_DEBUG_BODY the get the ability to show mail body in console

@frankrousseau frankrousseau merged commit dbb0605 into cgwire:master Oct 18, 2024
8 of 12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants