Ok, I'm fairly new to PHP. I've been using VB for over 10yrs, so I'm not new to programming. I've also been using HTML, ASP, and VBScript for quite some time. That said, does anyone know of a PHP script that will check an email account for new msgs and pull the body of the text (which would be either plain text or HTML). What I want to do is this: Have a PHP script that would check some email box (it would be dedicated sole for this purpose) grab any unread msgs there, parse out some data, and post the results to a MySQL database on my website. This would allow me to update the news on my wbsite A LOT faster than having to do it by hand (it's something I'm doing in my spare time).
The only help I need is to get PHP to check the email, the rest I think I can handle just fine.
Thanks in advance.
BTW: I am not in control of the hosting webserver, so if it involves rebuilding PHP to include a mod, it won't be possible. But, I will be using PHP 4 at least.
I want to subscribe to several email newsletters. The newsletters would be delivered to a specific address set up for this, say [email protected]. I want to know if a PHP script (or it can be a Perl CGI script for all I care) to check the inbox, see if there is something, get it, strip out the headers and ads ans uch, grab the relevant content and stuff it into my database. The database is what feeds the news postings on the main web page. Is that any clearer? If I can't automate it, then that means, I have to check the inbox manualy, d/l everything in it, cut and paste it by hand, then post it to the database. Since this is something I am doing on a part time basis,I don't want to have to take time from my paying job to do this, yet, I would like my news to be current.