Django

Code

Ticket #6139 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

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

Reported by: gwilson Assigned to: nobody
Milestone: Component: django.core.mail
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

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.

Attachments

Change History

12/18/07 22:51:36 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #6139 (can't pass a tuple to "to" parameter of EmailMessage)




Change Properties
Action