Ignore:
Timestamp:
09/19/07 15:30:47 (12 years ago)
Author:
pjotr
Message:

E-mail is now sent to a student as CC if the teacher e-mail is provided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ExerciseMaterial.py

    r2038 r2039  
    268268            message_subject = "LeMill exercise '%s' by %s" % (self.Title(),students_name) 
    269269            try: 
    270                 mhost.secureSend(mbody, mto=teachers_email, mfrom=message_from, subject=message_subject, charset='utf-8') 
    271                 msg = _(u"The e-mail has been sent to a teacher.") 
     270                mhost.secureSend(mbody, mto=teachers_email, mfrom=message_from, subject=message_subject, mcc=students_email, charset='utf-8') 
     271                msg = _(u"The e-mail has been sent to you and a teacher.") 
    272272                putils.addPortalMessage(msg) 
    273273                return REQUEST.RESPONSE.redirect(self.absolute_url()) 
Note: See TracChangeset for help on using the changeset viewer.