 |
| HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

April 25th, 2008, 02:39 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Imar, I don't know. I wasn't sure what you were asking.
I put your code from above in.
It does nothing but clear the form. No redirect to another page - nothing.
Everything I have read about mailto, basically was to get away from it. So, in looking for
other alternative, came up with sendmail, cdo etc.
Like I said at the beginning: 1. I'm new(very) to HTML 2. NO knowledge of ASP and 3. Absolutely no knowledge of Javascript.
This all wouldn't be bad, if I had the time to go buy some books, study, practice and play around, but I don't. I'm the only software person in my company, so no matter what the language, type, environment whatever - it comes to me to create or fix or enhance. What I work on changes every day, sometimes every couple of hours.
I really do appreciate your help. I think we're getting closer.
P.S. I'm in Kansas City - so I've still got 2 hours.
dartcoach
|
|

April 25th, 2008, 02:48 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
That sounds like a chicken and egg thing that you need to break out off. You don't have time to study, so things take much longer than needed which means you don't have time to study.... ;)
First of all, you should remove the HTML contents of the emailwithcdo.asp file; all you need is the ASP code.
Then add the following in the If loop:
Response.Write("Here")
Response.End()
Then request http://www.cioinc.com/NBX3000/testform1.html directly (e.g. don't use the steps you explained to me to get the framed version; request this page directly), fill in the form and try it again.
I strongly suggest you read up on ASP and sending mail. I am a complete idiot for spending so much time explaining things you can read in any beginning book.... ;)
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|
|

April 25th, 2008, 02:55 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Imar,
Thanks for your help.
Consider the matter closed.
I'll figure it out.
dartcoach
|
|

April 25th, 2008, 04:34 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Sorry. I'm pretty frustrated. We have server 2007 and my server people are telling me that I need to identify a different ip address for the smtpserver, since it doesn't work the same as 2003.
I did get an extension until Monday to get this working.
dartcoach
|
|

April 28th, 2008, 12:48 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
|
|
The problem was with the server. With Exchange and Server 2007, we needed to add another piece to the server. Once this was done everything worked correctly.
Thanks so much to Imar for his patience and all his help!!
dartcoach
|
|
 |