Opened 7 years ago

Closed 7 years ago

#5503 closed (fixed)

Email - Sending multiple content types.

Reported by: Trey <trey@…> Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

This line of code in the example:

msg = EmailMultiAlternatives(subject, text_content, from_email, to)

Should be

msg = EmailMultiAlternatives(subject, text_content, from_email, [to])

Because the Email* classes in django always take a list of recipients to my knowledge.

Change History (1)

comment:1 Changed 7 years ago by ubernostrum

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

(In [6351]) Fixed #5503 -- corrected a small typo in email example. Thanks, trey@….

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