Web Hosting Talk







View Full Version : How to automate response from website?


cdgeorge
09-18-2004, 10:52 AM
Where can i find resources to add an auto-responder to my website so that when a customer asks for details or information, the auto response from my pages indicate to the customer that his request is being processed?

The Dude
09-18-2004, 11:08 AM
I dunno if THIS (http://www.bondy48.com/roibot.htm) would help you,but it may........

Good Luck!!!!

Mr. Obvious
09-18-2004, 12:04 PM
Do you have a cPanel server? If so, its really simple :)

mwaseem
09-18-2004, 12:14 PM
When a customer posts the question, ask them to provide their valid email address.
If you're working with ASP on windows plateform, you can use CDONTS or CDOSYS to send email to their provided email address.
If you're coding in PHP, find a script from php.net (http://www.php.net/).

sea otter
09-18-2004, 05:53 PM
Have a look at these (16 php autoresponders at hotscripts):

http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Autoresponders/index.html

BigBison
09-18-2004, 06:31 PM
What to do when the form is submitted, you handle on the server side with php or some other server-side technology. One thing you must set up is an error handler. What happens if the website visitor makes a typo in their email address, for instance?

Welcome to the wonderful world of 'form validation'. By intercepting common mistakes (failure to enter data in a required field is another one) on the browser, you save bandwidth and processor cycles, even though users with javascript disabled are still error-trapping on the server.

A good search term is 'is valid email address'. You'll need a snippet of code on both client and server side -- I'm assuming it's included with most of the prepackaged server-side code. For the client side, I recommend using JavaScript with a regular expression to validate the email address before the client submits the form:

http://www.webreference.com/js/column5/form.html

Note that this provides syntax validation only. If you'd like, you can extend the script to look up the domain and see whether or not it exists, but I recommend leaving that advanced functionality for the server.