Nov 18, 2001, 2:05 AM
Very cool that you're so careful about mail scripts.
Here are some notes / tips:
- make sure you're sending the email only IF the request_type is POST. Otherwise someone can bookmark the page.
- you can test something with domains maybe (if the mailfrom is called from a valid domain)
- make sure there are no line breaks in the e-mail / subject fields. You can place more SMTP header tags after it. I always test that in my mailform script.
Oh I forgot
- Never code the e-mail address you're sending to in the HTML code. Use a alias in stead. You convert that alias into the real e-mail address using a hash.
Yet an Other Perl Programmer
Find out more about programming
(This post was edited by yapp on Nov 18, 2001, 1:09 AM)