用 Asp 发 wap Mail 需要以下两个文件:
default.asp
<%
Response.Buffer = true
Response.ContentType = "Texto/vnd.wap.wml"
Response.Write "<? Xml versão =" "1,0%>
<Wml>
<cartão id = "Intro">
<p align = "Center">
<big> <strong> 欢迎使用 wap Mail </strong> </big>
<br/>
<br/>
<a href = "#send"> 正在发送邮件 ... </a>
</p>
<p>
<mall> e8899.com </mall>
</p>
</card>
<cartão id = "send">
<p>
来自: <input type = "text" name = "de"/> <br/>
发到: <input type = "text" name = "para"/> <br/>
主题: <input type = "text" name = "sujeito"/> <br/>
内容: <input type = "text" name = "body"/> <br/>
</p>
<p align = "Center">
<do type = "aceitam" Label = "send">
<go href = "Mail.asp" Method = "post">
<Postfield name = "de" value = "$ de"/>
<Postfield name = "para" value = "$ para"/>
<Postfield name = "sujeito" value = "$ sujeito"/>
<Nome do Postfield = "Body" Value = "$ Body"/>
</go>
</ Do>
</p>
</card>
</wml>