[Zope-Checkins] CVS: Zope2 - SendMailTag.py:1.9.78.1
Brian Lloyd
brian@digicool.com
Tue, 27 Mar 2001 11:14:13 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/Products/MailHost
In directory korak:/home/brian/temp/zope-23-branch/lib/python/Products/MailHost
Modified Files:
Tag: zope-2_3-branch
SendMailTag.py
Log Message:
Fixed bug "len() of unsized object"
--- Updated File SendMailTag.py in package Zope2 --
--- SendMailTag.py 2000/06/20 18:10:47 1.9
+++ SendMailTag.py 2001/03/27 16:14:12 1.9.78.1
@@ -184,8 +184,10 @@
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 ' '