summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17b6137)
raw | patch | inline | side by side (parent: 17b6137)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 11 Feb 2004 00:21:46 +0000 (00:21 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 11 Feb 2004 00:21:46 +0000 (00:21 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2069 57a73879-2fb5-44c3-a270-3262357dd7e2
scripts/roundup-reminder | patch | blob | history |
index a4db8fce3a9e02806291db3b0cdaf4cbc4f5e30a..69a064a6739c36752d279f30bf8fda1049bd09ed 100755 (executable)
--- a/scripts/roundup-reminder
+++ b/scripts/roundup-reminder
# 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
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:
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