I've been receiving a lot of spam emails and I want to post them on my website to serve as a warning for others not to believe it. Since I'm too lazy to login to my email account and check. I'm thinking to write a script in php (since this is the only one i know)that logs in to the mailbox at regular intervals, retrieves the content of the e-mails and then post it to my website automatically. Any suggestions on what would be the best approach to accomplish this task? Do I have to do PHP socket programming?
Thanks