There's a good php POP3 class available here: http://www.thewebmasters.net/php/POP3.phtml
That will enable you to log into your mail server and retrieve a mail message from it. > -----Original Message----- > From: Chris Aitken [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 04, 2001 2:54 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] Getting an Email into a PHP/pl script > > Hi all, > > I have looked into the archives but im not sure what im searching for so I > decided to ask here. > > What I want to do is, on my FreeBSD box running PHP and MySQL, to have a > system which will take any email sent to a specific address, and pipe the > body of the email to PHP (or even to a perl script). Once I have the body > of the email as a variable, I can do all my parsing and extracting etc to > do with it as I need, but im baffled on where to start looking to get this > done. > > Any help would be greatly appreciated. > > > > Cheers > > > Chris > > > > Chris Aitken - Administration/Database Designer - IDEAL Internet > email: [EMAIL PROTECTED] phone: +61 2 4628 8888 fax: +61 2 4628 8890 > __-----------------------------------------__ > It is said that if you line up all the cars in the world end to end, > some moron in a rotary will still to try and pass them > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]