Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Form Processing, Display Results, and Email Result
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martha2Mary
Junior Member

New Zealand
250 Posts

Posted - 29 October 2001 :  06:09:34  Show Profile  Visit Martha2Mary's Homepage  Send Martha2Mary an AOL message  Send Martha2Mary an ICQ Message  Send Martha2Mary a Yahoo! Message
Hi,

I am attempting to arrange a Form that can help people make a decision, disply the results of whatever they input, and then also email themselves the results. I have managed to get this working up to a point, but then it just fails miserably, and I am not sure why. I am using ASP, and the form and processing is done using just 2 files - the HTML file with the Form itself, and an ASP Processing page. So, if someone more knowledgable than I could take a look at the process.asp page at http://www.hisgrace.org.nz/forum/process.txt as well as the form itself at http://www.hisgrace.org.nz/forum/pregnancybooklet.htm, and help me to actually get it all to work, it would be *very* much appreciated!!!

TIA,
Martha2Mary

*If Knowledge is Power, and Power Corrupts, what hope is there for Mankind *

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 29 October 2001 :  06:26:26  Show Profile  Visit Kat's Homepage
I can't see anything obvious at first glance, but does this mean your email uses html format or text format?

objEmail.BodyFormat = 0

That could have something to do with it? (I don't know CDONTS Parameters which is why I am suggesting this)

KatsKorner
Go to Top of Page

heptite
Average Member

USA
547 Posts

Posted - 29 October 2001 :  06:28:24  Show Profile  Visit heptite's Homepage  Send heptite an ICQ Message  Send heptite a Yahoo! Message
Martha, take a look here...

http://www.thebusywoman.com/drawing/drawing.shtml

This is a contest entry form that emails the site owner and writes to a database.

I'm assuming you want something similar, but with the mail to go to the person requesting the info.

Try mailing just a bit of the info. Does it work if you just try mailing a test message? In other words, is the CDONTS section working?


Here's my CDONTS section:

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
'Who the e-mail is from (this needs to have an e-mail address in it for the e-mail to be sent)
objCDOMail.From = "TheBusyWomanContest <feedback@journaldesigns.com>"
objCDOMail.To = sAdminEmail
objCDOMail.Cc = sCCMail

objCDOMail.Subject = sSubject

'The main body of the e-amil
objCDOMail.Body = strBody1 & strBody

'The format the e-mail is sent in
objCDOMail.MailFormat = CdoMailFormatText 'If you want it to be in MIME(HTML) format use CdoMailFormatMIME

'Importance of the e-mail (0=Low, 1=Normal, 2=High)
objCDOMail.Importance = 1

'Send the e-mail
objCDOMail.Send


'Close the server object
Set objCDOMail = Nothing
Sue

Additional support files - http://www.snitz.info
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07