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

Bug: Error Message for send_email incorrect #600

Open
culbert opened this issue Feb 20, 2024 · 0 comments
Open

Bug: Error Message for send_email incorrect #600

culbert opened this issue Feb 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@culbert
Copy link
Contributor

culbert commented Feb 20, 2024

What happened?

There is a bug in the code that reports exceptions when sending emails. The "to" and "from" are swapped in the message template.

This bug is in core/utils/mail.py. At line 59, in the exception handler at the bottom of the send_email utility function. You'll note that in the string substitution that renders the error message that sender and receiver are substituted in the wrong order (i.e. receiver list is used to fill in "from" placeholder and sender is used to fill in "to" placeholder.

Version

1.1.5

Component

Other

What browsers are you seeing the problem on?

None

Relevant log output

No response

Tasks/ user tests when bug is fixed

  • [ ]
@culbert culbert added the bug Something isn't working label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant