Re: Having trouble with a form to mail script.
| From: | dg | Date: | Mon, 23 Mar 2009 00:13:04 +0000 |
| Subject: | Re: Having trouble with a form to mail script. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290551@lists.php.net to get a copy of this message | ||
On Mar 22, 2009, at 12:46 PM, Linda Stark wrote:
what you guys thought about the PHPMailer-FE from http://phpmailer.codeworxtech.com/index.php?pg=phpmailerfeI'm not familiar with this. You might want to check with your web provider. I'm with Pair and they make security recommendations for code and pre-made scripts.
if you want to accept html mail, use this script, but he does not recommend it because when browsers are configured to not accept html mail there should also be a text alternative anyway.That would depend on what the form is for. If the results are only going to a few people, and they accept HTML, it shouldn't be a problem. It is safer that way too, so your form can't be used to send off email to everywhere. There's an awful lot of variables to consider. This is a good start: http://shiflett.org/blog/2005/dec/essential-php-security-forms-and-urls