Opened 8 years ago

Closed 8 years ago

#6139 closed (fixed)

can't pass a tuple to "to" parameter of EmailMessage

Reported by: gwilson Owned by: nobody
Component: Core (Mail) Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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.

Change History (1)

comment:1 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(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