Hi everyone,

I had a perfectly functioning MailHost object until recently. Site visitors
could email feedback to me from the Web page with no trouble. I can't pin it
down exactly, but the breakage seems to coincide with a upgrade to 2.2.4 a
while ago. The problem also exists in 2.3.0a2. Here's the traceback I get:

Traceback (innermost last):
  File /var/lib/zope/2.3.0a2/lib/python/ZPublisher/Publish.py, line 222, in
  File /var/lib/zope/2.3.0a2/lib/python/ZPublisher/Publish.py, line 187, in
  File /var/lib/zope/2.3.0a2/lib/python/Zope/__init__.py, line 221, in
    (Object: Traversable)
  File /var/lib/zope/2.3.0a2/lib/python/ZPublisher/Publish.py, line 171, in
  File /var/lib/zope/2.3.0a2/lib/python/ZPublisher/mapply.py, line 160, in
    (Object: sendfeedback)
  File /var/lib/zope/2.3.0a2/lib/python/ZPublisher/Publish.py, line 112, in
    (Object: sendfeedback)
  File /var/lib/zope/2.3.0a2/lib/python/OFS/DTMLDocument.py, line 176, in
    (Object: sendfeedback)
  File /var/lib/zope/2.3.0a2/lib/python/DocumentTemplate/DT_String.py, line
538, in __call__
    (Object: sendfeedback)
  File /var/lib/zope/2.3.0a2/lib/python/Products/MailHost/SendMailTag.py,
line 182, in render
    (Object: MailHost)
KeyError: (see above)


Here's the method I use to send email:

<dtml-var standard_html_header>

<dtml-sendmail mailhost="MailHost"> 
To: Feedback Recipient <[EMAIL PROTECTED]> 
From: <dtml-var visitor_email> 
Subject: Feedback from the web 

Feedback from : <dtml-var visitor_name>
<dtml-var comments> 

 <dtml-var district_links>
 <td valign=top>
<H3>Thank you for your input!</H3>

Your message has been sent.
<CENTER><a href=http://www.isd197.k12.mn.us/>Click here to return to the
home page.</a></CENTER>

<dtml-var standard_html_footer>

Anybody see a problem?


Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
[EMAIL PROTECTED] |   <dtml-var pithy_quote>     | http://linux.com/

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to