summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8bf3c4f)
raw | patch | inline | side by side (parent: 8bf3c4f)
author | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 8 Sep 2003 21:08:59 +0000 (21:08 +0000) | ||
committer | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 8 Sep 2003 21:08:59 +0000 (21:08 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1870 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/mailer.py | patch | blob | history |
diff --git a/roundup/mailer.py b/roundup/mailer.py
index fcadeab6ebdfe6ee50a5b192bb090b9b65179820..002861856fe9af4a6dc72c91ac7946e2ae6518ac 100644 (file)
--- a/roundup/mailer.py
+++ b/roundup/mailer.py
"""Sending Roundup-specific mail over SMTP."""
-# $Id: mailer.py,v 1.1 2003-09-08 09:28:28 jlgijsbers Exp $
+# $Id: mailer.py,v 1.2 2003-09-08 21:08:59 jlgijsbers Exp $
import time, quopri, os, socket, smtplib, re
return message, writer
- def standard_message(self, to, subject, content):
- message, writer = self.get_standard_message(to, subject)
+ def standard_message(self, to, subject, content, author=None):
+ message, writer = self.get_standard_message(to, subject, author)
writer.addheader('Content-Transfer-Encoding', 'quoted-printable')
body = writer.startbody('text/plain; charset=utf-8')