Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
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
 
Old April 25th, 2008, 02:39 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
 
Old April 25th, 2008, 02:48 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.
 
Old April 25th, 2008, 02:55 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

Imar,
Thanks for your help.
Consider the matter closed.

I'll figure it out.

dartcoach
 
Old April 25th, 2008, 03:23 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Consider it closed? After all the time you and I put in to it, don't you think I'd like to see it work?? ;)

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.
 
Old April 25th, 2008, 04:34 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
 
Old April 28th, 2008, 12:48 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to verify email exists? keyvanjan ASP.NET 2.0 Basics 1 November 30th, 2009 08:20 AM
[Resolved] Use of Required Field Validators snufse ASP.NET 2.0 Basics 5 March 11th, 2008 09:53 AM
Required Fields aRtware Access 2 May 26th, 2006 01:27 PM
how to verify email exists? keyvanjan ASP.NET 1.0 and 1.1 Professional 1 October 15th, 2005 12:06 PM
How to verify if form is shown pavel VB How-To 3 October 1st, 2004 01:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.