"WoG" wrote in message news:Wo******** @mail.webserver talk.com...
: I am having a heck of a problem getting this script to email correctly.
: A form generates all the values, and the script sends off a
: confirmation email- except I don't get any of the confirmation emails.
: I don't get any errors either. I've tried multiple email addresses
: (in network, out of network, etc.)
:
: Here is the code:
: set objMail = Server.CreateOb ject("CDONTS.Ne wMail")
: objMail.To = "je***********@ hotmail.com"
: objMail.From = Request.Form("s trEmail")
: objMail.CC = "jd******@butle r.edu"
: objMail.Subject = "Individual Visit Request"
: objMail.Body = "Name: " & Request.Form("s trFName") & " " &
: Request.Form("s trLName") & chr(13) & _
: "Email: " & Request.Form("s trEmail") & chr(13) & _
: "Street: " & Request.Form("s trStreetAddr") & chr(13) & _
: "City: " & Request.Form("s trCity") & chr(13) & _
: "State: " & Request.Form("s trState") & chr(13) & _
: "Zip: " & Request.Form("s trZip") & chr(13) & _
: "Phone: " & Request.Form("s trPhone") & chr(13) & _
: "Major 1: " & Request.Form("s trMajor1") & chr(13) & _
: "Major 2: " & Request.Form("s trMajor2") & chr(13) & _
: "High School and Grad Year: " & Request.Form("s trHS") & " - " &
: Request.Form("G radyr") & chr(13) & _
: "College (if applicable): " & Request.Form("s trCollege") &
: chr(13) & _
: "Appointmen ts Requested: " & appointments & chr(13) & _
: "Visit Date Requested: " & Request.Form("V isDate") & chr(13) &
: _
: "Visit Time Preference: " & Request.Form("V isTime") & chr(13)
: objMail.Send
: set objMail = nothing
: %>
:
: Anybody know why this won't mail?
This is running on NT or W2K?
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp