Django

Code

Ticket #5503 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

Email - Sending multiple content types.

Reported by: Trey <trey@ktrl.com> Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

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.

Attachments

Change History

09/15/07 22:57:33 changed by ubernostrum

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

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


Add/Change #5503 (Email - Sending multiple content types.)




Change Properties
Action