Fixed the wrong email parameter

This commit is contained in:
Shalabh Aggarwal 2012-09-15 21:15:23 +05:30
parent deb693e05b
commit 404fa54504
1 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ class Project(ModelSQL, ModelView):
if s.email]
message = render_email(
from_email=CONFIG['smtp_user'],
from_email=CONFIG['smtp_from'],
to='. '.join(receivers),
subject=subject,
text_template='project/emails/project_text_content.jinja',
@ -1255,7 +1255,7 @@ class ProjectHistory(ModelSQL, ModelView):
if s.email]
message = render_email(
from_email=CONFIG['smtp_user'],
from_email=CONFIG['smtp_from'],
to='.'.join(receivers),
subject=subject,
text_template='project/emails/text_content.jinja',