Sorry for this question, but I want to understand a DTML example which is in the DTML.pdf
The sendmail example oblige to put the different variables on :
- the variables subject and body are supplied from the FeedbackForm
- the variables support and feedback are supplied from Folder properties
I don't understand why (the different variables may be defined on the Feedbacksend dtml document no ???)
Another problem is : on my feedback Form I can change the subject and object value, but, when I add an input to change the support value, the parameter on the line command is change, but the mail is send on the default adress.
The example :
dtml-var standard_html_header
dtml-sendmail smtphost=gator.digicool.com
To: Product Support dtml-var support
From: Web Feedback Form dtml-var feedback
Subject: dtml-var subject
dtml-var body
/dtml-sendmail
Thank you for your input!
dtml-var standard_html_footer
Figure 14. A sample document that uses the dtml-sendmail tag
dtml-var standard_html_header
H2We want your input!/H2
form action=SendFeedback
Destination : input type=text name=support size=40
br
Subject: input type=text name=subject size=40
br
textarea name=body rows=10 cols=50
/textareabr
input type=submit value=Send Feedback
/form
dtml-var standard_html_footer
Figure 15. A feedback form that collects a subject and body from a user and submits them to the SendFeedback document
shown in figure 14.
Excuse me for my English, but I'm a little french developper without any experience