[Zope] MAILHOST ERROR

Jose Soares jose@sferacarta.com
Wed, 14 Mar 2001 12:15:58 +0100


Hello all,

I have a problem using MailHost, using the following
document:

<dtml-var standard_html_header>

   <dtml-sendmail mailhost="MyMail">
    To: joseph@sfera.com
    From: marcos@sfera.com
    Subject: Feedback from the web

    messaggio.....
    </dtml-sendmail>
<dtml-var standard_html_footer>


Zope returns me the following error message:

    Traceback (innermost last):
      File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 171, in
publish
      File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in
mapply
        (Object: tmp)
      File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 112, in
call_object
        (Object: tmp)
      File /usr/lib/zope/lib/python/OFS/DTMLDocument.py, line 177, in
__call__
        (Object: tmp)
      File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line
549, in __call__
        (Object: tmp)
      File /usr/lib/zope/lib/python/Products/MailHost/SendMailTag.py,
line 188, in render
        (Object: MailSfera)
      File /usr/lib/zope/lib/python/Products/MailHost/MailHost.py, line
220, in send
        (Object: MailSfera)
      File /usr/lib/python1.5/smtplib.py, line 465, in sendmail
      File /usr/lib/python1.5/smtplib.py, line 349, in mail
      File /usr/lib/python1.5/smtplib.py, line 118, in quoteaddr
      File /usr/lib/python1.5/rfc822.py, line 451, in parseaddr
      File /usr/lib/python1.5/rfc822.py, line 496, in getaddrlist
      File /usr/lib/python1.5/rfc822.py, line 504, in getaddress
      File /usr/lib/python1.5/rfc822.py, line 484, in gotonext
    TypeError: len() of unsized object

Any ideas?

Thank you

Jose'