Thierry
|
| Posted: 07/29/2002, 5:50 AM |
|
I want someone to explain me how to do in CCS to mail to a visitor if he loose
his username or password, I have in database a question with answer if he gives me the right answer I want automaticcally send him the right username or password How to in CCS?
|
|
|
 |
Nicole
|
| Posted: 07/30/2002, 6:50 AM |
|
Thierry,
CCS has built in send mail action that will generate all the code necessary to send mail.
Create Record form with one button only, add "SendMail" action to the button Server Side OnClick event (Properties window->Events tab). Once it is done, fill action parameters
Form
To
Subject
Message Body
HTML
Generate the page and in <page_name>_event file you'll get send mail code, you probably shuold modify message Body. The task is to look up password value according to informatio entered on the form (e.g. look up password by entered email address). Use CCDLookUP() function for this purpose.
|
|
|
 |
|