Commit 9c91edba authored by Andreas Jung's avatar Andreas Jung

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

parent a6ca5632
...@@ -27,6 +27,8 @@ Zope Changes ...@@ -27,6 +27,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.9.3 (2006/05/13) Zope 2.9.3 (2006/05/13)
Bugs fixed Bugs fixed
......
...@@ -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