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
54e7e207
Commit
54e7e207
authored
Mar 27, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug 2089: fix "len of unsized object" in sendmail tag
parent
1c171c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lib/python/Products/MailHost/SendMailTag.py
lib/python/Products/MailHost/SendMailTag.py
+6
-4
No files found.
lib/python/Products/MailHost/SendMailTag.py
View file @
54e7e207
...
...
@@ -82,8 +82,8 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
__rcs_id__
=
'$Id: SendMailTag.py,v 1.
9 2000/06/20 18:10:47
brian Exp $'
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: SendMailTag.py,v 1.
10 2001/03/27 16:14:42
brian Exp $'
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
from
MailHost
import
MailBase
from
DocumentTemplate.DT_Util
import
*
...
...
@@ -184,8 +184,10 @@ class SendMailTag:
mhost
=
MailBase
()
mhost
.
_init
(
self
.
smtphost
,
self
.
port
)
mhost
.
send
(
self
.
section
(
md
.
this
,
md
),
self
.
mailto
,
self
.
mailfrom
,
self
.
subject
,
self
.
encode
)
mhost
.
send
(
render_blocks
(
self
.
section
.
blocks
,
md
),
self
.
mailto
,
self
.
mailfrom
,
self
.
subject
,
self
.
encode
)
return
' '
...
...
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