Author |
Topic |
|
Martha2Mary
Junior Member
New Zealand
250 Posts |
Posted - 29 October 2001 : 06:09:34
|
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
|
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
|
|
|
heptite
Average Member
USA
547 Posts |
Posted - 29 October 2001 : 06:28:24
|
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
|
|
|
|
Topic |
|
|
|