[Checkins] SVN: lovely.mail/trunk/ - make the testmailer compatible to the latest zope.sendmail package

Juergen Kartnaller juergen at kartnaller.at
Tue Apr 22 02:13:13 EDT 2008


Log message for revision 85584:
  - make the testmailer compatible to the latest zope.sendmail package
  

Changed:
  U   lovely.mail/trunk/CHANGES.txt
  U   lovely.mail/trunk/setup.py
  U   lovely.mail/trunk/src/lovely/mail/testing.py

-=-
Modified: lovely.mail/trunk/CHANGES.txt
===================================================================
--- lovely.mail/trunk/CHANGES.txt	2008-04-22 00:32:08 UTC (rev 85583)
+++ lovely.mail/trunk/CHANGES.txt	2008-04-22 06:13:11 UTC (rev 85584)
@@ -5,6 +5,11 @@
 After
 =====
 
+2008/04/22 0.1.3
+================
+
+- make the testmailer compatible to the latest zope.sendmail package
+
 2007/12/10 0.1.2
 ================
 

Modified: lovely.mail/trunk/setup.py
===================================================================
--- lovely.mail/trunk/setup.py	2008-04-22 00:32:08 UTC (rev 85583)
+++ lovely.mail/trunk/setup.py	2008-04-22 06:13:11 UTC (rev 85584)
@@ -16,7 +16,7 @@
 name = 'lovely.mail'
 setup(
     name = name,
-    version = '0.1.2',
+    version = '0.1.3',
     author = "Lovely Systems",
     author_email = "office at lovelysystems.com",
     license = "ZPL 2.1",

Modified: lovely.mail/trunk/src/lovely/mail/testing.py
===================================================================
--- lovely.mail/trunk/src/lovely/mail/testing.py	2008-04-22 00:32:08 UTC (rev 85583)
+++ lovely.mail/trunk/src/lovely/mail/testing.py	2008-04-22 06:13:11 UTC (rev 85584)
@@ -72,12 +72,23 @@
         self.host = host
         self.port = port
 
+    does_esmtp = True
+
     def login(self, username, password):
         pass
 
     def sendmail(self, fromaddr, toaddr, message):
         sentMails.append((fromaddr, toaddr, message))
 
+    def ehlo(self):
+        return 200, ''
+
+    def helo(self):
+        return 200, ''
+
+    def has_extn(self, query):
+        return False
+
     def quit(self):
         pass
 



More information about the Checkins mailing list