Surveys in Lectora
September 20, 2007 12:00 AM
Ok, here is the problem with email results. In order for that to work, the person has to have email configured on the machine he is using. Many people don't have that. Furthermore there is an smtp issue. The system expects the server hosting the website serve as the smtp server for the email. Well, that would be ok if everyone was on your network, but most people aren't. This requires your server administrator to open up smtp as an email relay. That would allow anyone who discovered the smtp server to relay through it with spam and hide their tracks. Your server administrator was correct in refusing to do that. Had he opened it up and had it been picked up by a spammer your entire domain's email would probably be blocked by services like AOL and other large service providers. Since you work for a bank that would mean correspondance to your customers (who would be using a service like AOL) would cease.The correct procedure is to write a cgi script. There have been several posted here that do that. I believe Aaron as posted one and I know I have.If you would like, I can send you my code but there are several requirements for your server:1. It needs to be running Windows with IIS 5 or 6 (you need to know which)2. SMTP services must be installed on the server (as part of IIS) and relaying turned off. Mail should be IP restricted to the IP of the server only.3. ASP must be enabled. (By default it is but I don't know about your bank)If you have all of that, email me and I will send you the code you need to get this all working. It is pretty easy stuff once you see it.
Discussions have been disabled for this post