当前位置: 首页 > 图文教程 > 网络编程 > ASP > 用ASP发 WAP MAIL(-)

ASP
ASP编程中15个非常有用的例子 (二)
ASP与JSP的比较(一)
ASP与JSP的比较(二)
ASP中五种连接数据库的方法
从ASP调用SQL中的图像
用排序串字段实现树状结构(例程:连接字串)
用排序串字段实现树状结构(例程:删除贴子)
用排序串字段实现树状结构(例程:回复表单)
用排序串字段实现树状结构(例程:显示贴子内容)
用排序串字段实现树状结构(例程:显示树)
用排序串字段实现树状结构(存储过程)
用排序串字段实现树状结构(库结构)
用排序串字段实现树状结构(原理)
remote script文档(转载自微软)(一)
remote script文档(转载自微软)(二)
remote script文档(转载自微软)(三)
remote script文档(转载自微软)(四)
remote script文档(转载自微软)(五)
remote script文档(转载自微软)(六)
remote script文档(转载自微软)(七)

用ASP发 WAP MAIL(-)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 155 ::
收藏到网摘: n/a

  用ASP发 WAP MAIL需要以下两个文件:
default.asp
<%
Response.Buffer = True
Response.ContentType = "text/vnd.wap.wml"
Response.Write "<?xml version=""1.0%>
<wml>
  <card id="Intro" title="e8899.com' WAP Mail">
    <p align="center">
      <big><strong>欢迎使用WAP Mail</strong></big>
      <br/>
      <br/>
      <a href="#Send">正在发送邮件 ...</a>
    </p>
    <p>
      <small>e8899.com</small>
    </p>
  </card>

  <card id="Send" title="E8899.COM' WAP Mail">
    <p>
      来自: <input type="text" name="From"/><br/>
      发到: <input type="text" name="To"/><br/>
      主题: <input type="text" name="Subject"/><br/>
      内容: <input type="text" name="Body"/><br/>
    </p>
    <p align="center">
    <do type="accept" label="Send">
      <go href="mail.asp" method="post">
           <postfield name="From" value="$From"/>
           <postfield name="To" value="$To"/>
           <postfield name="Subject" value="$Subject"/>
           <postfield name="Body" value="$Body"/>
      </go>
    </do>
    </p>
    </card>
</wml>