Replies Back to Article

Form 2 Mail w/Redirect

Programming language
December 29, 2003 by Martha Graham

Can you specify what programming language you are using and what mail component can be used on the server?

Martha Graham
DMXzone.com

Mail Client
December 29, 2003 by James mart

Not Sure what you mean...?

As I said I am VERY new to it's use....:-(

RE: Mail Client
December 30, 2003 by Martha Graham

Are you using html, php, asp to program your webpages?

Martha Graham
DMXzone.com

Some Background
January 7, 2004 by Brenda Black

If you want to use an HTML form created in DW using the Form handler - THEN - you must also use a MAIL FORM handler "script" such as:  CGI/Perl language script - which is usually used on a Unix/Linux server.  CGI and Perl also have redirect code that is easy to insert.  However, the formmail.pl script has been advertised lately as having security issues.  A new script has been created called: Mailform, but I have not used it.  ASK your ISP/Hosting Co what they use on their servers.  IMPORTANT:  IMPORTANT:  THEY, usually put the script on THEIR servers and give you access to it.  Many will also give you a step by step instruction with how to use it.

IMPORTANT: IMPORTANT:  THEY have to have a SERVER-SIDE application installed on THEIR servers to ALLOW your script to work...

If you are going to use ASP pages, with a HTML access page, then you will NEED to ensure that your ISP/Hosting Co has ASP COM installed on THEIR servers or your ASPEMail will not work. 

You can find these scripts FREE on the internet, just type in the name of the script and get the code.

You can also use the CGI scripts as a Win2k server user.  Your ISP/Hosting company will need to create a path for you to access that will probably be different than the Unix/Linux users, but ultimately it will accomplish the same thing.

If your site is uploaded on a Win2k server, you can also use what Microsoft wrote called: CDONTS.  You can find that code on their website.  Go to: www.technet.com and search for CDONTS. 

Since you are new at this, I would follow the DW book step by step and then find one of the above methods to "execute" your forms. 

So, DW can lead you step by step to create the forms either regular and use a CGI script, or ASP page and use ASPemail, or use CDONTS from microsoft.  Which ever you decide to use, MAKE SURE THAT YOUR ISP/HOSTING COMPANY has the correct server-side software installed or you will never get anything to run.

TALK to them to find out what they have FIRST, that will tell you what to do.  If you are doing your own server, THEN YOU, need to install the server-side scripts to your server, before your forms will work.

There is plenty of FREE tutorials out there on the internet, and certainly a LOT of books.  Look through the books before you purchase them to ensure that they have GOOD training guides that do what you are looking for.  Sometimes, (for me anyway, ) multiple books are necessary because each source offers a different perspective or "way" of explanation and demonstration.

You can not expect to use advanced code and functionality without a lot of trial and error, or homework upfront.  There is more to consider than just creating these forms.  You must also ensure that all browsers and platforms can use your hard-earned work.  OR, use more than one script in a page, yada, yada...  Take the time to investigate.

 

 

 

 

   

Exactly...
February 28, 2004 by Kutt Niinepuu
Additional info is needed, before anyone of us can provide you a suitable tutorial. I know how to accomplish this using PHP only.