Forum Moderators: mack

Message Too Old, No Replies

ASP CDONTS cant send email

NO error pop up but i cant receive form thru email...

         

joan_0618

5:54 am on Nov 7, 2003 (gmt 0)

10+ Year Member



hope you could help me...try to check if i miss something or something wrong with my host...but i already confirmned the server has a CDONTS component...

<!--This is the code for online form-->

<%
if request.form <> "" then
Set objmail=CreateObject("CDONTS.NewMail")

for each f in request.form
strbody=strbody& f & " : " &request.form(f) & vbcrlf
next
objmail.send "inquiry@***.com", "joan_0618@***.com", "Online Form - "&now(), strbody
set objmail=nothing
response.write "Thanks, you have just submitted your Online inquiry...click HOME"
else
%>

<!--This is the main form.-->

<FORM ACTION="http://www.***.com/website/inquiry.asp" METHOD="post">

<table>
<tr><td>
<h6>Name<br><INPUT name="name" size=40>v
<h6>Email<br><INPUT name="email" size=40></h6>
<h6>Message<br><TEXTAREA name="message" rows=10 cols=50></textarea></h6></td></tr>
</table>
</div>
<!--This is the button-->

<INPUT TYPE="submit" VALUE="Send">
<!-- reset -->&nbsp;&nbsp;<INPUT TYPE="reset" VALUE="Clear">
</FORM>
<%end if%>

**************

did i miss something with my codes that cause me not to receive any inquiry from my site?

thanks to whom will give time and reply...

le_gber

8:20 am on Nov 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have a look here, last post:

[webmasterworld.com...]

it gives you all the functions needed to use cdonts

Hope this helps

Leo