I want to create a mail forwarding "PHP code".
If a mail comes to my POP3 account it must be forwarded to all email ids i set.
Must support Attachment/HTML/PLAIN Mails
Please help me.
PHP doesn't have standard functions for collecting mail from POP3 accounts so you have three options.
You can either use Python (I haven't tried myself but apparently it has built in functions for this)
You can manage it yourself with pre-written class have a look here http://www.hotscripts.com/search/?query=pop3&category=PHP
You could build your own class with the exact functionality that you need
Option three would give you the most flexibility but it would be hard work. Remeber; hard work is how you learn 🙂
Good Luck Rob