[Zope] sendmail Traceback

Lennart Regebro lennart@torped.se
Tue, 29 Oct 2002 17:29:27 +0100


Which Zope version are you using?

----- Original Message -----
From: "Stephan Göldi" <goeldi@goeldi.com>
To: <zope@zope.org>
Sent: Tuesday, October 29, 2002 3:59 PM
Subject: [Zope] sendmail Traceback


> I get this traceback when I use the sendmail tag:
>
> Error Type: TypeError
> Error Value: len() of unsized object
>
> Traceback (innermost last):
>   File /home/www/zope/new/lib/python/ZPublisher/Publish.py, line 223, in
> publish_module
>   File /home/www/zope/new/lib/python/ZPublisher/Publish.py, line 187, in
> publish
>   File /home/www/zope/new/lib/python/Zope/__init__.py, line 226, in
> zpublisher_exception_hook
>     (Object: SupportManageHandler)
>   File /home/www/zope/new/lib/python/ZPublisher/Publish.py, line 171, in
> publish
>   File /home/www/zope/new/lib/python/ZPublisher/mapply.py, line 160, in
> mapply
>     (Object: index_html)
>   File /home/www/zope/new/lib/python/ZPublisher/Publish.py, line 112, in
> call_object
>     (Object: index_html)
>   File /home/www/zope/new/lib/python/OFS/DTMLDocument.py, line 199, in
> __call__
>     (Object: index_html)
>   File /home/www/zope/new/lib/python/DocumentTemplate/DT_String.py, line
> 544, in __call__
>     (Object: index_html)
>   File /home/www/zope/new/lib/python/Products/MailHost/SendMailTag.py,
> line 189, in render
>     (Object: MailHost)
>   File /home/www/zope/new/lib/python/Products/MailHost/MailHost.py, line
> 231, in send
>     (Object: MailHost)
>   File /home/www/zope/new/lib/python2.1/smtplib.py, line 481, in
> sendmail
>   File /home/www/zope/new/lib/python2.1/smtplib.py, line 363, in mail
>   File /home/www/zope/new/lib/python2.1/smtplib.py, line 122, in
> quoteaddr
>   File /home/www/zope/new/lib/python2.1/rfc822.py, line 475, in
> parseaddr
>   File /home/www/zope/new/lib/python2.1/rfc822.py, line 520, in
> getaddrlist
>   File /home/www/zope/new/lib/python2.1/rfc822.py, line 528, in
> getaddress
>   File /home/www/zope/new/lib/python2.1/rfc822.py, line 508, in gotonext
> TypeError: (see above)
>
>
> Can anybody point me in the right direction?
>
> -TIA-
> Stephan
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>