Opened 17 years ago

Closed 17 years ago

#5503 closed (fixed)

Email - Sending multiple content types.

Reported by: Trey <trey@…> Owned by: nobody
Component: Documentation 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

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 by James Bennett, 17 years ago

Resolution: fixed
Status: newclosed

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

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