Anselmo Santos wrote:I also heard I need to improve the PHP code to avoid spam. Any idea on how to do this too?
This is exactly what I want to to tell you next. This is not spam. This is worse. Through your code, it's easy to turn your host into a zombie sending spam or other malicious content
. This is so easy that it's even funny. I personally faced with this kind of exploit. Fortunately, this is also relatively easy to prevent, but it requires close attention. I'll explain it. Just see my past answer where I explained it:
unable to send mail , it showing the error in below code .
If something is not clear, please ask your questions, as this is an important aspect.