Emailing Forgotten Password


i'm trying create page email forgotten password. have is...

<cfquery datasource="datasource" name="query">
select password
from members
where email = '#form.email#'
</cfquery>

<cfmail to="#form.email#" from="help@website.com" subject="forgotten password" server="localhost" type="html">
your password email address #form.email# #query.password#. print , keep email future reference.
</cfmail>

this emails blank password. if change #query.password# #password# error using complex variables in simple forms not being availble after cf2.

can use <cfset> create simple value <cfmail> or have better idea. i'm using dreamweaver mx6 , web hosting company running cf5 server.

what happens when cfdump query results?


More discussions in Getting Started


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

RC Receiver into Arduino as PC Controller (UnoJoy)