26-09-2006, 11:06
|
#1 (permalink)
|
|
mingin dawg baitch
Join Date: Apr 2004
Location: Belfast
Posts: 1,035
|
wml post?
anyone have any experience as to why this might not be working
Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//OPENWAVE.COM//DTD WML 1.3//EN" "http://www.openwave.com/dtd/wml13.dtd">
<!-- WML file created by the Openwave SDK -->
<wml>
<card title="Email a Query">
<p>
Name :<br/>
<input type="text" title="Name" name="Name"/><br/>
</p>
<p>
Telephone :<br/>
<input type="text" title="Telephone" name="Telephone"/><br/>
</p>
<p>
Query :<br/>
<input type="text" title="Query" name="Query" size="25"/><br/>
</p>
<p>
<anchor>
<go method="post" href="email.asp">
<postfield name="name" value="$(Name)"/>
<postfield name="telephone" value="$(Telephone)"/>
<postfield name="query" value="$(Query)"/>
</go>
Submit Data
</anchor>
</p>
</card>
</wml>
and the processing asp file
Code:
<% Response.ContentType = "text/vnd.wap.wml" %>
<%
Dim strName, strTelephone, strEmail, strVals
strName = REquest.Form("Name")
strTelephone = Request.Form("Telephone")
strEmail = Request.Form("Query")
strVals = "Customer Name is" & strName & " Customer Telephone is" & strTelephone & " Customer Email is " & strEmail
Call SendEmail("", "" , "", strVals, "")
%>
|
|
|
|