[Zope] Problems with sendmail tag
Antonio MATTA
amatta@atlas.puj.edu.co
Wed, 26 Jun 2002 17:49:28 -0500 (COT)
Hi Everybody:
I am using the senmail tag to send the information gathered on a web form
to an e-mail, see below:
<dtml-sendmail>
To:amatta@atlas.puj.edu.co
Subject:Formulario Evaluaci=F3n de Epiciclos
</dtml-sendmail>
But I have the following error and I do no know what is happening.
Site Error
An error was encountered while publishing this resource.
exceptions.UnboundLocalError
Sorry, a site error occurred.
Traceback (innermost last):
File
/usr/local/Zope-2.5.1/lib/python/Products/Hotfix_2002-04-15/__init__.py,
line 51, in publish_module
File /usr/local/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 114,
in publish
File /usr/local/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 98, i=
n
publish
File /usr/local/Zope-2.5.1/lib/python/ZPublisher/mapply.py, line 88, in
mapply
(Object: sendform)
File /usr/local/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 39, i=
n
call_object
(Object: sendform)
File /usr/local/Zope-2.5.1/lib/python/OFS/DTMLMethod.py, line 127, in
__call__
(Object: sendform)
File /usr/local/Zope-2.5.1/lib/python/DocumentTemplate/DT_String.py,
line 473, in __call__
(Object: sendform)
File /usr/local/Zope-2.5.1/lib/python/Products/MailHost/SendMailTag.py,
line 114, in render
(Object: )
UnboundLocalError: local variable 'mhost' referenced before assignment
Many thanks,
Antonio