[Zope] a very simple question
pbiot@imexpert.com
pbiot@imexpert.com
Fri, 21 Jul 2000 10:11:44 +0200
This is a multipart message in MIME format.
--=_alternative 002D4C76C1256923_=
Content-Type: text/plain; charset="us-ascii"
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>
<H2>We 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>
</textarea><br>
<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 ....
--=_alternative 002D4C76C1256923_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif"> Sorry for this question, but I want to understand a DTML example which is in the DTML.pdf</font>
<br>
<br><font size=2 face="sans-serif">The sendmail example oblige to put the different variables on :</font>
<br><font size=2 face="sans-serif">- the variables subject and body are supplied from the FeedbackForm</font>
<br><font size=2 face="sans-serif">- the variables support and feedback are supplied from Folder properties </font>
<br>
<br><font size=2 face="sans-serif">I don't understand why (the different variables may be defined on the Feedbacksend dtml document no ???)</font>
<br><font size=2 face="sans-serif">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. </font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">The example :</font>
<br>
<br><font size=2 face="sans-serif"><dtml-var standard_html_header></font>
<br><font size=2 face="sans-serif"><dtml-sendmail smtphost="gator.digicool.com"></font>
<br><font size=2 face="sans-serif">To: Product Support <<dtml-var support>></font>
<br><font size=2 face="sans-serif">From: Web Feedback Form <<dtml-var feedback>></font>
<br><font size=2 face="sans-serif">Subject: <dtml-var subject></font>
<br><font size=2 face="sans-serif"><dtml-var body></font>
<br><font size=2 face="sans-serif"></dtml-sendmail></font>
<br><font size=2 face="sans-serif">Thank you for your input!</font>
<br><font size=2 face="sans-serif"><dtml-var standard_html_footer></font>
<br>
<br><font size=2 face="sans-serif">Figure 14. A sample document that uses the dtml-sendmail tag</font>
<br>
<br><font size=2 face="sans-serif"><dtml-var standard_html_header></font>
<br><font size=2 face="sans-serif"><H2>We want your input!</H2></font>
<br><font size=2 face="sans-serif"><form action=SendFeedback></font>
<br><font size=2 face="sans-serif">Destination : <input type=text name=support size=40> </font>
<br><font size=2 face="sans-serif"><br></font>
<br><font size=2 face="sans-serif">Subject: <input type=text name=subject size=40></font>
<br><font size=2 face="sans-serif"><br></font>
<br><font size=2 face="sans-serif"><textarea name=body rows=10 cols=50></font>
<br><font size=2 face="sans-serif"></textarea><br></font>
<br><font size=2 face="sans-serif"><input type=submit value="Send Feedback"></font>
<br><font size=2 face="sans-serif"></form></font>
<br><font size=2 face="sans-serif"><dtml-var standard_html_footer></font>
<br>
<br><font size=2 face="sans-serif">Figure 15. A feedback form that collects a subject and body from a user and submits them to the SendFeedback document</font>
<br><font size=2 face="sans-serif">shown in figure 14.</font>
<br>
<br><font size=2 face="sans-serif">Excuse me for my English, but I'm a little french developper without any experience ....</font>
--=_alternative 002D4C76C1256923_=--