[Zope] Escaping DTML in sendmail

Will Partridge Will Partridge <will@vonrex.com>
Fri, 12 Oct 2001 04:35:31 -0700


I want to be able to send DTML expressions to myself in email.

For example, I want to use sendmail to compose a message that says:

<dtml-var standard_html_header>

But without replacing the variable with the code it represents.  That 
is, it should literally say "<dtml-var standard_html_header>".

I tried HTML style escape codes:

&lt;dtml-var standard_html_header&gt;

But that sent me, literally, "&lt;dtml-var standard_html_header&gt;".

Is there a way to do this?  I can implement what I'm trying to do in 
a different way, but now I'm curious if this way is possible.

Will Partridge
will@vonrex.com