Opened 18 years ago
Closed 18 years ago
#6139 closed (fixed)
can't pass a tuple to "to" parameter of EmailMessage
| Reported by: | Gary Wilson | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Mail) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Since "to" and "bcc" default to empty lists, if you pass a tuple to "to" and don't pass "bcc", the recipients() method ends up trying to add a tuple to a list.
Note:
See TracTickets
for help on using tickets.
(In [6953]) Fixed #6139 -- When sending email, made sure that the "to" and "bcc" sequences have the same type before concatenating.