[thelist] ASP and form question

Madhu Menon webguru at vsnl.net
Fri Jul 5 15:19:01 CDT 2002


At 12:17 AM 7/6/2002, Sharon F. Malone wrote:
>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.

a) Have you tried running the script with hard coded values for all fields
instead of the form values? (e.g., "objmail.from = "someone at example.com")?
Does that not work either?

b) Is the SMTP service properly configured on your server? If not, your
mail will never get anywhere.


>Response.Redirect("confirm.html")
>set objMail = nothing
>%>


BTW, I don't *think* that destroying the object *after* doing the
Response.Redirect will work. Switch the above two lines. I *could* be
wrong. Just a gut feel, but try fixing that and seeing if it works.

Regards,

Madhu

<<<   *   >>>
Madhu Menon
User Experience Consultant
e-mail: webguru at vsnl.net




More information about the thelist mailing list