![MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Скачать руководство пользователя страница 161](http://html1.mh-extra.com/html/macromedia/coldfusion-4-5-cfml-language/coldfusion-4-5-cfml-language_reference_3287257161.webp)
Chapter 1: ColdFusion Tags
137
TIMEOUT
Optional. The number of seconds to wait before timing out the connection to the
SMTP server.
Example
<!--- This view-only example shows the use of CFMAIL --->
<HTML>
<HEAD>
<TITLE>CFMAIL Example</TITLE>
</HEAD>
<BODY bgcolor=silver>
<H3>CFMAIL Example</H3>
<P>This view-only example shows the use of CFMAIL. If your CFAS mail
settings are configured successfully and the comments are removed,
you will be able to use this code to send simple email.
<!---
<CFIF IsDefined("form.mailto")>
<CFIF form.mailto is not "" AND form.mailfrom is not "" AND
form.Subject is not "">
<CFMAIL TO="#form.mailto#"
FROM="#form.mailFrom#"
SUBJECT="#form.subject#">
This message was sent by an
automatic mailer built with CFMAIL:
====================================================
#form.body#
</CFMAIL>
<H3>Thank you</H3>
<P>Thank you, <CFOUTPUT>#mailfrom#: your message, #subject#, has
been sent to #mailto#</CFOUTPUT>.
</CFIF>
</CFIF>
<P>
<FORM ACTION="cfmail.cfm" METHOD="POST">
<PRE>
TO: <INPUT
TYPE="Text"
NAME="MailTo">
FROM:
<INPUT TYPE="Text" NAME="MailFrom">
SUBJECT:<INPUT TYPE="Text" NAME="Subject">
<hr>
MESSAGE BODY:
<TEXTAREA NAME="Body" COLS="40" ROWS="5" WRAP="VIRTUAL"></TEXTAREA>
</PRE>
<!--- establish required fields --->
<INPUT TYPE="Hidden" NAME="MailTo_required" VALUE="You must enter a
recipient for this message">
<INPUT TYPE="Hidden" NAME="MailFrom_required" VALUE="You must enter a
sender for this message">
<INPUT TYPE="Hidden" NAME="Subject_required" VALUE="You must enter a
subject for this message">
<INPUT TYPE="Hidden" NAME="Body_required" VALUE="You must enter some text
for this message">
<P><INPUT TYPE="Submit" NAME="">
</FORM> --->
...
Содержание COLDFUSION 4.5-CFML LANGUAGE
Страница 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Страница 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Страница 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Страница 296: ...272 CFMLLanguageReference INPUT TYPE text NAME number2 BR INPUT TYPE submit NAME submit VALUE Add FORM BODY HTML...
Страница 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Страница 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Страница 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Страница 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Страница 557: ...Chapter 2 ColdFusion Functions 533 P CFOUTPUT Value i is employee keysToStruct i CFOUTPUT P CFLOOP CFIF BODY HTML...
Страница 584: ...560 CFMLLanguageReference...
Страница 594: ...570 CFMLLanguageReference...