My mail() script is working fine. But the problem is that people are spamming i.e sending random mails which is causing hell to my inbox+junk folder.
I am thinking to restrict each IP for only sending 2 emails, that is IP can only send 2 emails, for sending more he will have to change his IP. so in this way I think this spam would decrease.
so anyway or can some one help me to code this ? or directly give me php code.

