a different username than %s.
This is almost certainly caused by some legacy data in our database.
-Please send an email to webmaster@postgresql.eu, indicating the username
+Please send an email to webmaster@postgresql.org, indicating the username
and email address from above, and we'll manually marge the two accounts
for you.
# Send an email, prepared as the full MIME encoded mail already
QueuedMail(sender=sender, receiver=receiver, fullmsg=fullmsg).save()
-def send_template_mail(sender, receiver, subject, templatename, templateattr={}, usergenerated=False):
+def send_template_mail(sender, senderaccountname, receiver, subject, templatename, templateattr={}, usergenerated=False):
send_simple_mail(sender, receiver, subject,
get_template(templatename).render(Context(templateattr)),
- '__internal')
+ senderaccountname)
tokensent=datetime.now())
m.save()
send_template_mail(settings.NOTIFICATION_FROM,
+ request.user.username,
m.email,
'Your email address for commitfest.postgresql.org',
'extra_email_mail.txt',