Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding course name to subject in massive mails #11

Open
versae opened this issue Feb 14, 2013 · 4 comments
Open

Adding course name to subject in massive mails #11

versae opened this issue Feb 14, 2013 · 4 comments
Assignees

Comments

@versae
Copy link

versae commented Feb 14, 2013

Since there is no custom emails for courses, should be nice if by default the course name is added to the subject of the email, so students enrolled in more than one course can know what course the email comes from.

I changed this two lines in teacheradmin/tasks.py

if len(recipients) > 0:
    subject = u"[%s] %s" % (email.course.name, email.subject)
    send_mass_mail_wrapper(subject, email.message, recipients, html_content=True)
@ablanco
Copy link
Contributor

ablanco commented Feb 20, 2013

The problem comes with courses with long names, it will result in a too long subject.

@versae
Copy link
Author

versae commented Feb 20, 2013

Maybe in the body? I'd say that a solution could be add a couple of new fields in the course model, one for the email for announcements, and another one for the email to communicate to the teachers.

@ghost ghost assigned oscarcp Jun 28, 2013
@ablanco
Copy link
Contributor

ablanco commented Jun 28, 2013

We can do something similar to what coursera does. We can write the name of the course in the from address, something like:

from: Name of the Course <info@openmooc.org>

And add the course name at the top of the mail body too.

@versae
Copy link
Author

versae commented Jul 1, 2013

That'd be cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants