Commit fcdb0dc6 authored by Andreas Jung's avatar Andreas Jung

- Collector #2063: cleaned up some mess in MailHost.sendTemplate()

parent f646de4c
...@@ -33,6 +33,8 @@ Zope Changes ...@@ -33,6 +33,8 @@ Zope Changes
- Collector #2073: fixed misbehaviour of OFS.Owned.changeOwnership - Collector #2073: fixed misbehaviour of OFS.Owned.changeOwnership
- Collector #2063: cleaned up some mess in MailHost.sendTemplate()
Zope 2.10.0 beta 1 (2006/05/30) Zope 2.10.0 beta 1 (2006/05/30)
Restructuring Restructuring
......
...@@ -125,7 +125,7 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager): ...@@ -125,7 +125,7 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager):
messageText = mtemplate(self, trueself.REQUEST) messageText = mtemplate(self, trueself.REQUEST)
messageText, mto, mfrom = _mungeHeaders( messageText, mto, mfrom) messageText, mto, mfrom = _mungeHeaders( messageText, mto, mfrom)
messageText=_encode(messageText, encode) messageText=_encode(messageText, encode)
self._send(mfrom, mto, messageText) trueself._send(mfrom, mto, messageText)
if not statusTemplate: return "SEND OK" if not statusTemplate: return "SEND OK"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment