当前位置: 移动技术网 > IT编程>开发语言>.net > 用EasyMailObject组件处理Exchange邮件源代码(6)

用EasyMailObject组件处理Exchange邮件源代码(6)

2018年10月12日  | 移动技术网IT编程  | 我要评论

手机号码查姓名,打折羽绒服,夏家三千金下载

在asp中用easymailobject处理exchange邮件源代码---发送邮件的界面(sendmail1.)

<%@ language="vbscript" %>
<%
*************************************

这个文件是发送邮件或回复邮件的界面
作者:awayeah
邮箱:awayeah@163.net

*************************************


取得回信地址
replyaddr=request.querystring("addr")
取得要回邮件的主题
replysubj=replace(request.querystring("subject"),"_",space(1))
%>
<script language="vbscript">
sub cmdsubmit_onclick()
if trim(frmsendmail.receive1.value)="" then
alert ("尚未输入收件人地址,请输入!")
frmsendmail.receive1.focus
else
frmsendmail.submit
end if
end sub
</script>
<html>
<head>
<meta http-equiv="content-language" content="zh-cn">
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="generator" content="microsoft frontpage 4.0">
<meta name="progid" content="frontpage.editor.document">
<title>发邮件</title>
</head>
<body bgcolor="#008080" text="#00ffff">
<p span=1 align=center>
<form method="post" action="p_sendmail.asp" name="frmsendmail">
  <table border="1" width="455" cellspacing="1" bgcolor="#800080">
    <tr>
      <td width="92">
        <p align="right"><b>发 件 人</b></p>
      </td>
      <td width="347"><input type="text" name="from" size="40"></td>
    </tr>
    <tr>
      <td width="92"><b>发件人邮箱</b></td>
      <td width="347"><input type="text" name="fromaddr" size="40"></td>
    </tr>
  </table>
  <table border="1" width="455" height="56" bgcolor="#000080">
    <tr>
      <td width="52" height="23">
        <p align="center"><b>收件人</b></p>
      </td>
      <td width="387" height="23">
        <p align="left"><input type="text" name="receive1" value="<%=replyaddr%>" size="40"></p>
      </td>
    </tr>
    <tr>
      <td width="52" height="23">
        <p align="center"><b>主 题</b></p>
      </td>
      <td width="387" height="23">
        <p align="left"><input type="text" name="subject" value="<%=replysubj%>" size="40"></p>
      </td>
    </tr>

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网