Click to See Complete Forum and Search --> : Reading Incoming Mail


chestertb
08-03-2006, 09:08 PM
Hi All,

I'm a complete newbie to perl, so I'm not sure I even know where to start with this.

I have a rather complex shipment tracking database written in php. That's fine from our side, but when our supplier ships back, his system sends an email with the serial number and the tracking number.

I want to read those email notifications automatically, and update my database. I know perl can do that, but I have no idea how or where to start looking for the solution.

Anyone point me in the right direction?

Thanks
CTB

PineSolPirate
08-07-2006, 03:44 PM
A long time ago I built a simple webmail system using perl and (I think) Net::POP3. You can find some good docs for it at http://perldoc.perl.org/Net/POP3.html
Hope that helps, in the meantime I'll go rooting around in my files for that old webmail system, it might have some usefull code for you.

chestertb
08-07-2006, 08:46 PM
Thanks. I'll give it a read and see if I can make head or tail of it.