coldfront
coldfront copied to clipboard
Bug: Error Message for send_email incorrect
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
- [ ]