Tutorials Scripts Free Q&A Books


 







:שמתשמ
:המסיס
  

0 :םויה תוסינכ
37 :שדוחה תוסינכ
1 :ןיילנוא םישלוג
רחא PHP CGI ASP JavaScript Cold Fusion JSP

Cold Fusionב םיטפירקס


ליימרופ
םיזיע בלוח :רבחמה םש
http://www.builder.co.il :תיב-רתא

:תורעה\תויחנה
ךרוצה יפל ונש

:דוק

<CFIF IsDefined("process")>


<!--- Send the message to yourself, when the user posts it on your site. --->
<CFMAIL to="webmaster@yoursite.com" from="#ContactEmail#" Subject="Contact From YourSite.Com" SERVER="mail.cfm-resources.net" port="25">
#ContactMessage#

Message By: #ContactName# - #ContactEmail#
========================================
</CFMAIL>
<!--- Send one to the person writing, thanking them and reminding them what they wrote. --->
<CFMAIL to="#ContactEmail#" from="From Email" Subject="The Subject!" SERVER="mail.cfm-resources.net" port="25">

Thank you for your message,
We'll be in touch as soon as we can, we receive hundred and thousands
of emails a day; so we might take a while, but we'll reply!

Thanks again for visiting our site,
Yourname - Webmaster
Webmaster@Yoursite.Com


You wrote:
#ContactMessage#

Message By: #ContactName# - #ContactEmail#
========================================
</CFMAIL>

Thanks for your message!


<CFELSE>

<cfform action="contact.cfm" method="post">
<input type="hidden" name="Process" Value="1">
<table align="center" border="0" width="100%">
<tr>
<td width="40%" valign="top" align="right">Name:&nbsp; </td>
<td width="60%"><cfinput type="text" name="ContactName" size="20" required="yes" message="Please Enter Your Name!"></td>
</tr>
<tr>
<td width="40%" valign="top" align="right">Email:&nbsp; </td>
<td width="60%"><cfinput type="text" name="ContactEmail" size="20" required="yes" message="Please Enter Your Email Address!"></td>
</tr>
<tr>
<td width="40%" valign="top" align="right">Message:&nbsp; </td>
<td width="60%"><textarea rows="4" name="ContactMessage" cols="20"></textarea></td>
</tr>
<tr>
<td width="40%" valign="top" align="right"></td>
<td width="60%"><input type="submit" value="Submit Contact Form"></td>
</tr>
</table>
</cfform>

</CFIF>

 

הרזח >>
...