Posted by Justin on 12/17/06 02:29
Thanks wrote:
> We have an Apache server with webpage written in php.
> Few months ago we discover that tons of spams is being relay through our
> webserver.
> so we remove the email server link from php.ini
> that stop the spams but also the 'contact us' form and 'email this page
> form' function
> stop working.
> Note: the 'contact us' form and 'email this page form' is using the simple
> mail() function to send mail.
>
> Now we have to enable the 'contact us' form and 'email this page form'
> function again.
> So we downloaded the phpmailer from
> http://phpmailer.sourceforge.net/
> and install it into our webserver.
> This mailer utility allows authentication when communicating with the email
> server.
> My question is will this be able to prevent spams?
>
> Thanks for advice.
>
>
>
Well you could go to the bother of installing a third party app but if
you googled "php email header injection" there are plenty of solutions.
[Back to original message]
|