Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
7ad2ad51
Commit
7ad2ad51
authored
Jun 15, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Collector #2063: cleaned up some mess in MailHost.sendTemplate()
parent
0c54c885
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
doc/CHANGES.txt
doc/CHANGES.txt
+3
-1
lib/python/Products/MailHost/MailHost.py
lib/python/Products/MailHost/MailHost.py
+1
-1
No files found.
doc/CHANGES.txt
View file @
7ad2ad51
...
@@ -25,7 +25,9 @@ Zope Changes
...
@@ -25,7 +25,9 @@ Zope Changes
- Collector #2073: fixed misbehaviour of OFS.Owned.changeOwnership
- 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)
Zope 2.8.7 (2007/05/29)
...
...
lib/python/Products/MailHost/MailHost.py
View file @
7ad2ad51
...
@@ -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
)
true
self
.
_send
(
mfrom
,
mto
,
messageText
)
if
not
statusTemplate
:
return
"SEND OK"
if
not
statusTemplate
:
return
"SEND OK"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment