15.6 Reading mailThis is NOT the latest copy of this book; click here for the latest version.
Compared to sending mail, reading mail is a little more difficult. The main reason for this is because the syntax is a little weird at first, so you may need to keep referring back here. Note that the functionality shown here is designed for IMAP servers, but also works fine with POP3 and NNTP.
Author's Note: Although making your own applications is fun, don't be afraid to re-use what's already out there. For example, there's an excellent web mail package already available - check out SquirrelMail at www.squirrelmail.org
|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|