[Zope-Checkins] SVN: Zope/trunk/ - Collector #2063: cleaned up some mess in MailHost.sendTemplate()

Andreas Jung cvs-admin at zope.org
Thu Jun 15 05:42:59 EDT 2006


Log message for revision 68643:
        - Collector #2063: cleaned up some mess in MailHost.sendTemplate()
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/lib/python/Products/MailHost/MailHost.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2006-06-15 00:36:27 UTC (rev 68642)
+++ Zope/trunk/doc/CHANGES.txt	2006-06-15 09:42:55 UTC (rev 68643)
@@ -31,4 +31,6 @@
 
       - Collector #2073: fixed misbehaviour of OFS.Owned.changeOwnership
 
+      - Collector #2063: cleaned up some mess in MailHost.sendTemplate()
 
+

Modified: Zope/trunk/lib/python/Products/MailHost/MailHost.py
===================================================================
--- Zope/trunk/lib/python/Products/MailHost/MailHost.py	2006-06-15 00:36:27 UTC (rev 68642)
+++ Zope/trunk/lib/python/Products/MailHost/MailHost.py	2006-06-15 09:42:55 UTC (rev 68643)
@@ -125,7 +125,7 @@
         messageText = mtemplate(self, trueself.REQUEST)
         messageText, mto, mfrom = _mungeHeaders( messageText, mto, mfrom)
         messageText=_encode(messageText, encode)
-        self._send(mfrom, mto, messageText)
+        trueself._send(mfrom, mto, messageText)
 
         if not statusTemplate: return "SEND OK"
 



More information about the Zope-Checkins mailing list