[Zope] sendmail tag is quoting html
AM
list_subscriber@neurobs.com
Mon, 10 Mar 2003 12:03:21 -0800
Hi,
I have the following snippet in my standard_error_message:
<dtml-sendmail mailhost="mail_host">
To: aseem@somain.com
From: zope@host.domain.com
Subject: Zope Error: <dtml-var error_type>
Error Type: <dtml-var error_type>
<dtml-var error_tb>
-zope
</dtml-sendmail>
The problem is that the error_tb is sent quoted like in the stuff below.
Any ideas why?? Any workarounds??
TIA
AM
_________________
Error Type: NotFound
Traceback:
<p>Traceback (innermost last):
<ul>
<li> Module ZPublisher.Publish, line 89, in publish</li>
<li> Module ZPublisher.BaseRequest, line 329, in traverse</li>
<li> Module ZPublisher.HTTPResponse, line 636, in debugError</li>
</ul>NotFound: <TABLE BORDER="0" WIDTH="100%">
<TR VALIGN="TOP">
<TD WIDTH="10%" ALIGN="CENTER">
&nbsp;
</TD>
<TD WIDTH="90%">
<H2>Site Error</H2>
<P>An error was encountered while publishing this resource.
</P>
<P><STRONG>Debugging Notice</STRONG></P>
Zope has encountered a problem publishing your object.<p>
Cannot locate object at: http://nbs.neuro-bs.com/dadada
<HR NOSHADE>
<P>Troubleshooting Suggestions</P>
<UL>
<LI>The URL may be incorrect.</LI>
<LI>The parameters passed to this resource may be incorrect.</LI>
<LI>A resource that this resource relies on may be
encountering an error.</LI>
</UL>
<P>For more detailed information about the error, please
refer to the HTML source for this page.
</P>
<P>If the error persists please contact the site maintainer.
Thank you for your patience.
</P>
</TD></TR>
</TABLE>
</p>
- zope
__________________
--
==================================================================
Aseem Mohanty
Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706
(R) 510 7696011 (M) 510 3014871 (O) 510 5279231
==================================================================
"I saw `cout' being shifted "Hello world" times to the left and
stopped right there!!" -- Steve Gonedes
==================================================================