CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Regular Expressions: Re: Email matching: Edit Log


Nov 18, 2001, 2:05 AM

Views: 37394
Re: Email matching

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)

This post has not been edited

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives