Opened 11 years ago

Closed 11 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: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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.

Change History (1)

comment:1 Changed 11 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [6953]) Fixed #6139 -- When sending email, made sure that the "to" and "bcc" sequences have the same type before concatenating.

Note: See TracTickets for help on using tickets.
Back to Top