[Zope] Coding help

Todd Loomis, DMSO (SAIC) tloomis@dmso.mil
Mon, 22 Apr 2002 13:56:13 -0400


All:

Why when I use the below code to check for a password if one isn't found 
the page ask me to download a file instead of returning my results for the 
page.

<dtml-in locator>
<dtml-if Password>
<dtml-sendmail smtphost="thunderbird.dmso.mil">
To: <dtml-var Username>
From: register@dmso.mil
Subject: DMSO Extranet - Password

Dear <dtml-var Realname>:

Here's your DMSO Extranet password:  <dtml-var Password>

Sincerely,

DMSO
</dtml-sendmail>
<dtml-var standard_html_header>
<p>Your password has been emailed.</p>
<dtml-var standard_html_footer>
<dtml-else>
<dtml-var standard_html_header>
<p>No account with the username <em><dtml-var Username></em> found.</p>
<dtml-var standard_html_footer>
</dtml-if>
</dtml-in>

Regards,
Todd