Preventing BCC

How can I ensure this script does not try and use the BCC field.

I have had a problem in the past, with a form mail script that would exploit the BCC field to send email - although the script never asked for that info.

I am not a Perl programmer, so I wanted a php based script that I could maintain if necessary.

Thanks!

Jeff

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Preventing BCC

The BCC would only be able to go to a domain listed in your referers list.

So if your referers list was for www.boaddrink.com and boaddrink.com, only e-mail addresses at boaddrink.com would be able to receive the mail (bcc or directly).

If somebody tried to add on a bcc of say eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%65%78%61%6d%70%6c%65%40%61%6f%6c%2e%63%6f%6d%22%3e%65%78%61%6d%70%6c%65%40%61%6f%6c%2e%63%6f%6d%3c%2f%61%3e%27%29%3b')), it would not be sent.

-Andrew Riley

User login