Commit 7ad2ad51 authored by Andreas Jung's avatar Andreas Jung

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

parent 0c54c885
......@@ -25,7 +25,9 @@ Zope Changes
- Collector #2073: fixed misbehaviour of OFS.Owned.changeOwnership
- Collector #1944: HTTPRequest.resolve_url has error in raising errors
- Collector #1944: HTTPRequest.resolve_url has error in raising error
- Collector #2063: cleaned up some mess in MailHost.sendTemplate()
Zope 2.8.7 (2007/05/29)
......
......@@ -125,7 +125,7 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager):
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"
......
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