+
+ You can also send the student grades to alternative targets:
+
+ >>> prof = Person(name='H.D.', emails=['hd@wall.net'])
+ >>> msg = construct_student_email(
+ ... author=author, course=course, grades=grades, targets=[prof])
+ >>> print(msg.as_string().replace('\\t', ' '))
+ ... # doctest: +REPORT_UDIFF, +ELLIPSIS
+ Content-Type: text/plain; charset="us-ascii"
+ MIME-Version: 1.0
+ Content-Transfer-Encoding: 7bit
+ Content-Disposition: inline
+ Date: ...
+ From: Jack <a@b.net>
+ Reply-to: Jack <a@b.net>
+ To: "H.D." <hd@wall.net>
+ Subject: Physics 101 grades for Jill
+ <BLANKLINE>
+ H.D.,
+ <BLANKLINE>
+ Grades:
+ * Exam 1: 5 out of 10 available points.
+ * Homework 1: 1 out of 3 available points.
+ <BLANKLINE>
+ Comments:
+ <BLANKLINE>
+ Homework 1
+ <BLANKLINE>
+ Work harder!
+ <BLANKLINE>
+ Yours,
+ Jack