After an 18-month (or so) absence from doing anything remotely website
related, I am working on some website stuff again, and I seem to have
forgotten a lot of what I knew.
Have a form on a page that potential customers can fill out, which then
emails me the message when they hit "SEND". It does this using the
FormHandler script. Unfortunately, after five or six years of the page
being on-line the spambots have finally found it and started inundating
me with spam from the form. (I'm surprised it took as long as it did.) I
decided to add a CAPTCHA to it to reduce the spam attacks, but I
couldn't find a quick and easy way to do this. I did remember, however,
that the email page form had this built into it, so I replaced the form
with with the email page.
Unfortunately, I can't get this to work at all. Whenever I hit the SEND
button, I get this error:
> An error occured. Please contact the site administrator.
>
> Error code: 201
I've tried everything I can imagine to get the email to send: changed
the server address to localhost, used the actual domain name, used
127.0.0.1, tried each of this with username/password authentication, and
everything else I can think of. Still no joy. This site is hosted at
Dreamhost, which uses port 587, and I adjusted accordingly, but I'm out
of ideas. Any thoughts on this?
Once this is figured out, I have one other hurdle I have to overcome, so
as a secondary question:
How do I set the "TO" and "SUBJECT" fields so that they are always the
same and hidden from the end user?
Thanks in advance!
---
Steven Shelton