B
Benny Alexander
Whats the problem. I never getting the form data delivered to my my mail
box.
Regards,
Benny
1. Sendform.asp
<% @language="VBSCRIPT" %>
<%
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.To = request.form ("recipient")
objMail.Subject = request.form ("name")
objMail.From = request.form ("email")
objMail.Body = request.form ("message")
objMail.Send
Set objMail = Nothing
Response.Redirect "thanks.htm"
2. form.asp
<form action="sendmail.asp" method="POST">
<input type="hidden" name="recipient" size="25"
value="benny@(mydomainnamehere).com">
<table width=100% border=0 cellpadding=0 cellspacing=0>
<tr>
<td>Name </td>
<td><input type="text" name="name" size="25"></td>
</tr>
<tr>
<td>Email </td>
<td><input type="text" name="email" size="25"></td>
</tr>
<tr>
<td>Message </td>
<td><textarea rows="7" name="message" cols="30"></textarea></td>
</tr>
</table>
<input type="submit" value="Submit"> <input type="reset" value="Reset">
</form>
%>
3. a thanks.htm file.
box.
Regards,
Benny
1. Sendform.asp
<% @language="VBSCRIPT" %>
<%
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.To = request.form ("recipient")
objMail.Subject = request.form ("name")
objMail.From = request.form ("email")
objMail.Body = request.form ("message")
objMail.Send
Set objMail = Nothing
Response.Redirect "thanks.htm"
2. form.asp
<form action="sendmail.asp" method="POST">
<input type="hidden" name="recipient" size="25"
value="benny@(mydomainnamehere).com">
<table width=100% border=0 cellpadding=0 cellspacing=0>
<tr>
<td>Name </td>
<td><input type="text" name="name" size="25"></td>
</tr>
<tr>
<td>Email </td>
<td><input type="text" name="email" size="25"></td>
</tr>
<tr>
<td>Message </td>
<td><textarea rows="7" name="message" cols="30"></textarea></td>
</tr>
</table>
<input type="submit" value="Submit"> <input type="reset" value="Reset">
</form>
%>
3. a thanks.htm file.