summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a1e9b5b)
raw | patch | inline | side by side (parent: a1e9b5b)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 25 Mar 2004 22:53:26 +0000 (22:53 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 25 Mar 2004 22:53:26 +0000 (22:53 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2192 57a73879-2fb5-44c3-a270-3262357dd7e2
TODO.txt | patch | blob | history | |
roundup/mailer.py | patch | blob | history |
diff --git a/TODO.txt b/TODO.txt
index 47a810ccbe974a1cd48113293068dda2c59110a4..3d6ae74faf47da7439afbf1f69d6c7c92de8d4b2 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
-This file has been re-purposed to contain specifically the items that need
-doing before the next release:
+This file contains items that need doing before the next release:
- ensure index creation is triggered by the version 1->2 update
(and other upgrade tests)
diff --git a/roundup/mailer.py b/roundup/mailer.py
index e3f4f7590c47900041a7a8b856e1f908765e0882..0ddabe974a24bf2bf3b85fe0e55a42a0653af5db 100644 (file)
--- a/roundup/mailer.py
+++ b/roundup/mailer.py
"""Sending Roundup-specific mail over SMTP.
"""
__docformat__ = 'restructuredtext'
-# $Id: mailer.py,v 1.8 2004-03-25 22:52:12 richard Exp $
+# $Id: mailer.py,v 1.9 2004-03-25 22:53:26 richard Exp $
import time, quopri, os, socket, smtplib, re
- subject: the subject as a string.
"""
- message, writer = self.get_standard_message(to, subject)
-
# see whether we should send to the dispatcher or not
dispatcher_email = getattr(self.config, "DISPATCHER_EMAIL",
getattr(self.config, "ADMIN_EMAIL"))
elif error_messages_to == "both":
to.append(dispatcher_email)
+ message, writer = self.get_standard_message(to, subject)
+
part = writer.startmultipartbody('mixed')
part = writer.nextpart()
part.addheader('Content-Transfer-Encoding', 'quoted-printable')