I m使用共同点,I m对它来说是新的。 我已写了一份法典,用电子邮件把一页交给朋友。 但是,这并不奏效,请告诉我,我我,我必须做些什么?
页: 1
<title>E-Mail this page to your friend</title>
<cfoutput>
<cfform method="post" name="Emailform" action="sendmail.cfm">
<table border="0" cellspacing="0" cellpadding="4" width="90%" id="ContactMe">
<tr>
<td width="30%"><div align="right">Your Name:</div></td>
<td width="70%"><input type="text" name="name" size="30" /></td>
<tr>
<td><div align="right">Friend Email:</div></td>
<td><input type="text" name="email" size="30" /></td>
<tr>
<td> </td>
<td>
<input type="submit" id="submit" name="submit" value="Submit" />
<input type="reset" name="reset" value="Reset" />
</td>
</table></cfform></cfoutput>
我寄来的电子邮箱:cfm
<cfoutput>
<cfmail to="#email#"
from="do-not-reply@balah balah.com"
subject="#form.name# has referred you a page"
type="html">
Dear #form.name#
blah blah
</cfmail>
<p>Your E-Mail has been sent.</p>
</cfoutput>
我有什么错误? 或者说什么错了?
感谢