php - How to automatically put email content on the webpage -


I am receiving several spam emails and I post them on my website to serve as a warning to others I do not believe this because I'm too lazy to login and check in my email account. I'm thinking of writing a script in PHP (because it's the only one) that logs in the mailbox at regular intervals, retrieves the contents of the e-mail and then automatically posts it on my website What does the best way to accomplish this task, any suggestions on this? Do I have to do PHP socket programming?

Thank you

I think your email is filed under spam or junk folder Goes away. You may want to set one that runs from time to time.

You can check that the protocols supported by your service provider and where you really want to post information - database or HTTP POST.


Comments