PDA

View Full Version : Counting mails in an inbox with php



sekasi
October 17th, 2007, 12:41 PM
Title says it all.

Any way of reading the content of a pop3 inbox (all servers passwords usernames etc is given ofc) through php?

Basically I just want to count the amount of mails that are sent to a specific address.

Thanks guys.

evildrummer
October 17th, 2007, 01:41 PM
http://uk2.php.net/manual/en/ref.imap.php

and

http://uk2.php.net/manual/en/function.imap-num-msg.php

should also work for pop3 mail boxes