Don't you hate it when, right after you post to the list, you figure out
your problem? :-)
I removed the quotes around $id after using:
$err = imap_errors();
print_r($err);
to determine what the problem was.
Anyway, Happy Thanksgiving all, happy troubleshooting and never forget to use
t
I'm writing a command line script to go through a mailbox on the file
system. PHP the binary is compiled with imap, I've confirmed by using
imap_headers to get the array of the 10,051 messages and printed the array
out.
Here's my code:
#!/usr/local/bin/php -q
Here's what I get when sea