Conquering the beast
Well my attempt to get a working staff contact form for warealtor.org was successful. Albeit not without a little adventure. Till today (or more like yesterday) I never really did anything with classic ASP outside of doing simple file includes. But I was able to taste victory after a few losing battles.
The tutorial I was following used a email function called CDONTS that I found out was deprecated in Windows Server 2003. However the variable structure used to hide email addresses was exactly what the doctor ordered. I’d already adapted this along with a select box holding staff email addresses in my HTML form. So I researched the way Win Server 2k3 likes to handle email and found a built in function called CDOSYS. I figured out how to properly deploy that from of all places w3schools.com. So I massaged (the term I like to use to annoy Erika) the script with this knowledge and…
It worked!
Felt like I conquered the beast that is classic ASP. But I’m sure it’ll get me back in time. Now all that’s left to do is prettify the form, add some more email addresses, and style the successful submission landing page.
The whole reason I decided to undertake this mini project was to alleviate the spam issues we’ve experienced with having our staff email addresses ripe for the picking on the site. Thought about some sort of CAPTCHA-esque verification but perhaps I’ll tackle that later.
No comments thus far...