[thelist] ASP and form question

Tab Alleman Tab.Alleman at realmetros.com
Fri Jul 5 15:10:01 CDT 2002


I've never used CDONTS, but don't you have to tell it the IP addy of
your mail server somewhere?

-----Original Message-----
From: Sharon F. Malone [mailto:sfmalo at 24caratdesign.com]
Sent: Friday, July 05, 2002 2:47 PM
To: thelist at lists.evolt.org
Subject: [thelist] ASP and form question


Did an ASP file written to send form info to me (as a test) with a
redirect to a confirmation page. However, I've filled out the form twice
to test it ... and have not received either email. The confirmation page
works fine tho.

I notice that the "To" of the objMail.To is blue in my text editor as is
the "nothing" after setObjMail. This usually indicates something isn't
right but I don't know what/why.

Any idea why it isn't working?

<%
Dim objMail
set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = Request.Form("Order_Info_Form")
objMail.Subject = "Message from The Chocolate Foundry"
objMail.To = "sfmalo at 24caratdesign.com"
objMail.Body  = "Sent by: " & Request.Form("name") & vbCrlf & vbCrlf &
Request.Form("message")
objMail.Send
Response.Redirect("confirm.html")
set objMail = nothing
%>

<form name="Order_Info_Form" action="process.asp" method="post"
enctype="text/plain" onSubmit="return
Order_Info_Form_Validator(this)"><input type="hidden" name="order-orig"
value="sfmalo at 24caratdesign.com">
<input type="hidden" name="order-bcc" value="cheftrain at yahoo.com">
------------------------------------------------------------------------
---
Sharon F. Malone
"web design and Internet writing services"
http://www.24caratdesign.com
sfmalo at 24caratdesign.com
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !



More information about the thelist mailing list