12 Jun
2001
12 Jun
'01
8:10 p.m.
Gilles Lenfant writes:
Okay, I can render a structuredtext in a <dtml-var stx_doc_name fmt=structured-text>, but I need to send the content of that structured text in mail (plain text). Is there a simple way to discard all markup from structuredtext ? Structured text is plain text that you can directly send by email.
If you send it to a browser, you may need to set the "Content-Type" header to "text/plain": <dtml-call "RESPONSE.setHeader('Content-Type','text/plain')> .... Dieter