email feedback
Code:
<HTML>
<HEAD>
<TITLE>HTML Mail </TITLE>
</HEAD>
<script language="javascript">
function SendEmail(frm){
var emailAddress="xxxatyy.com"
var message = "Name:" + frm.txtName.value + "\n";
message = message +"Phone:" + frm.txtPhone.value;
message = message +"\nEmail:" + frm.txtEmail.value;
document.location.href = "mailto:"+emailAddress+"?subject=Test Mail&body="+escape(message);
}
</script>
<BODY>
<form name="frmSendEmail" >
<TABLE>
<TR>
<TD vAlign=center align=right width="35%">
Name:
</TD>
<TD width="65%"><input type=text name=txtName value=""></TD></TR>
<TR>
<TD vAlign=center align=right width="35%">
Phone:
</TD>
<TD width="65%"><input type=text name=txtPhone value=""></TD></TR>
<TR>
<TD vAlign=center align=right width="35%">
Email:
</TD>
<TD width="65%"><input type=text name=txtEmail value=""></TD></TR>
<TR><TD vAlign=center align=center width="100%" colspan=2>
<INPUT TYPE="button" name="sendEmail" Value="Send Email" onclick="SendEmail(this.form)">
</TD></TR>
</TABLE>
</form>
</BODY>
所有的方案都是 从html页面提供的feedback方案,或是提交到一个地址(最终都是数据库),或是提交到email。
如果有这样的客户 feedback的载体是email呢? 有可能实现吗? 把email中feedback的内容全部都重载到数据库中,类似submit提交一个form 有没有这样的办法〉〉
本文来自博客园,作者:CarlZeng,转载请注明原文链接:https://www.cnblogs.com/backuper/archive/2009/04/17/1437794.html
需求沟通链接 扫客服加群:
![](https://images.cnblogs.com/cnblogs_com/backuper/933606/o_240408031754_%E6%89%AB%E5%AE%A2%E6%9C%8D%E5%8A%A0%E7%BE%A4.png)