用ASP发 WAP MAIL(-)
发布时间:2006-10-14 2:41:15   收集提供:gaoqian
用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>

 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50