From 7e298d9cbdc775768f91d20b64adc4daf788e50a Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 11 Feb 2004 00:21:46 +0000 Subject: [PATCH] fix for new mailer API git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2069 57a73879-2fb5-44c3-a270-3262357dd7e2 --- scripts/roundup-reminder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/roundup-reminder b/scripts/roundup-reminder index a4db8fc..69a064a 100755 --- a/scripts/roundup-reminder +++ b/scripts/roundup-reminder @@ -19,7 +19,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# $Id: roundup-reminder,v 1.7 2004-02-11 00:00:01 richard Exp $ +# $Id: roundup-reminder,v 1.8 2004-02-11 00:21:46 richard Exp $ ''' Simple script that emails all users of a tracker with the issues that @@ -31,7 +31,7 @@ TODO: possibly make this more general and configurable... import sys, cStringIO, MimeWriter, smtplib from roundup import instance, date -from roundup.mailgw import openSMTPConnection +from roundup.mailer import SMTPConnection # open the instance if len(sys.argv) != 2: @@ -164,7 +164,7 @@ and click on "My Issues". Do NOT respond to this message. writer.lastpart() # all done, send! - smtp = openSMTPConnection(db.config) + smtp = SMTPConnection(db.config) smtp.sendmail(db.config.ADMIN_EMAIL, address, message.getvalue()) # vim: set filetype=python ts=4 sw=4 et si -- 2.30.2