asp邮件发送代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Easysail</title>
<link href="cc20.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form
action="http://nt2.ce.net.cn/scripts/email/send.asp"
method="post" name="submitform" id="submitform">
<input type="hidden" value="easysail@easysail.cn"
name="sendemail" />
<input type="hidden" value="From Website"
name="subject" />
<span class="unnamed1">
<script language="JavaScript" type="text/javascript">
function isEmail(vEMail)
{
var regInvalid=/(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/;
var regValid=/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;
return (!regInvalid.test(vEMail)&&regValid.test(vEMail));
}
function check()
{
{ document.submitform.tHtml.value=document.submitform.innerHTML;
document.submitform.submit();}
}
</script>
</span>
<div align="left">
<table class="style61" cellspacing="0" cellpadding="0"
width="100%" border="0">
<tbody>
<tr>
<td colspan="4" height="30"><table width="100%" border="0">
<tbody>
<tr>
<td class="WORD" align="right" width="19%">您现在:</td>
<td class="WORD" align="left" width="81%"><input
type="radio" checked="checked" value="有问题要咨询" name="want" />
对产品感兴趣
<input type="radio" value="有不满要投诉" name="want" />
有问题要咨询
<input type="radio" value="有建议要提出" name="want" />
有建议要提出 *</td>
</tr>
<tr>
<td class="WORD" align="right">您从事的行业:</td>
<td class="WORD" align="left"><select class="WORD"
name="otclass">
<option value=""
selected="selected">请选择行业</option>
<option
value="玩具">玩具</option>
<option
value="教育">教育</option>
<option
value="安防">安防</option>
<option
value="电气">电气</option>
<option
value="印刷">印刷</option>
<option
value="纸业">纸业</option>
<option
value="广告">广告</option>
<option
value="通信">通信</option>
<option
value="防伪">防伪</option>
<option
value="工程机械">工程机械</option>
<option
value="医疗器械">医疗器械</option>
<option
value="电子">电子</option>
<option
value="水工业">水工业</option>
<option
value="暖通">暖通</option>
<option
value="IT">IT</option>
<option
value="化工">化工</option>
<option
value="汽车用品">汽车用品</option>
<option
value="影音">影音</option>
<option
value="小家电">小家电</option>
<option
value="建筑陶瓷">建筑陶瓷</option>
<option
value="医药">医药</option>
<option
value="涂料">涂料</option>
<option
value="塑料">塑料</option>
<option
value="石油">石油</option>
<option
value="卫浴洁具">卫浴洁具</option>
<option
value="汽车维修与保养">汽车维修与保养</option>
<option
value="广电">广电</option>
<option
value="酒店">酒店</option>
<option
value="汽车">汽车</option>
<option
value="家电">家电</option>
<option
value="音响灯光">音响灯光</option>
<option
value="涂装与表面处理">涂装与表面处理</option>
<option
value="汽车配件">汽车配件</option>
<option
value="制药工业">制药工业</option>
<option
value="消防">消防</option>
<option
value="库存积压">库存积压</option>
<option
value="办公文教">办公文教</option>
<option
value="纺织">纺织</option>
<option
value="服装">服装</option>
<option
value="机械工业">机械工业</option>
<option
value="环保">环保</option>
<option
value="家居用品">家居用品</option>
<option
value="建材">建材</option>
<option
value="交通运输">交通运输</option>
<option
value="礼品工艺品">礼品工艺品</option>
<option
value="能源">能源</option>
<option
value="农林牧副渔">农林牧副渔</option>
<option
value="摩托车及配件">摩托车及配件</option>
<option
value="食品工业">食品工业</option>
<option
value="冶金矿产">冶金矿产</option>
<option
value="图书出版">图书出版</option>
<option
value="运动休闲">运动休闲</option>
<option
value="商业服务">商业服务</option>
<option
value="服饰">服饰</option>
<option
value="皮具">皮具</option>
<option
value="灯饰">灯饰</option>
<option
value="五金">五金</option>
<option
value="钢铁">钢铁</option>
<option
value="美容美发">美容美发</option>
<option
value="珠宝首饰">珠宝首饰</option>
<option
value="制鞋工业">制鞋工业</option>
<option
value="丝印特印">丝印特印</option>
</select>
*</td>
</tr>
<tr>
<td class="WORD"
align="right">主&nbsp;&nbsp;&nbsp;题:</td>
<td class="WORD" align="left"><input class="WORD"
size="30" name="subject2" />
* </td>
</tr>
<tr>
<td class="WORD" valign="top" align="right"><p>留&nbsp;&nbsp;&nbsp;言:</p></td>
<td class="WORD" align="left"><textarea class="WORD" name="memo" rows="8" cols="40"></textarea>
* </td>
</tr>
<tr>
<td class="WORD" align="right">您的姓名:</td>
<td class="WORD" align="left"><input class="WORD"
name="name" />
*
<input type="radio" checked="checked" value="先生"
name="gender" />
先生
<input type="radio" value="女士"
name="gender" />
女士 *</td>
</tr>
<tr>
<td class="WORD"
align="right">单&nbsp;&nbsp;&nbsp;&nbsp;位:</td>
<td class="WORD" align="left"><input class="WORD"
size="30" name="company2" />
* </td>
</tr>
<tr>
<td class="WORD"
align="right">电&nbsp;&nbsp;&nbsp;&nbsp;话:</td>
<td class="WORD" align="left"><input class="WORD"
name="telephone" />
* </td>
</tr>
<tr>
<td class="WORD" align="right"><span
class="STYLE72">E-mail</span>:</td>
<td class="WORD" align="left"><input class="WORD"
name="email" /></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td width="28%" height="30"><p> </p></td>
<td width="72%" colspan="3"><div class="style71" align="left">
<input type="hidden"
name="tHtml" />
<input onclick="javascript:check();" type="button" value="发送" name="Button2" />
&nbsp;&nbsp;
<input type="reset" value="取消" name="Submit22" />
</div></td>
</tr>
</tbody>
</table>
</div>
</form>
</body>
</html>