changeset 1803:ee33ce4987f5

Let standard_message accept a different author.
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Mon, 08 Sep 2003 21:08:59 +0000
parents fe9d122f1bb1
children f83f240b0610
files roundup/mailer.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/mailer.py	Mon Sep 08 21:08:18 2003 +0000
+++ b/roundup/mailer.py	Mon Sep 08 21:08:59 2003 +0000
@@ -1,5 +1,5 @@
 """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
 
@@ -41,8 +41,8 @@
         
         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')

Roundup Issue Tracker: http://roundup-tracker.org/