Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 22, 2010, 8:18 am
rate this thread
i am building a script to get total email inbox, last email. i got
internal server error when read big mailbox ( about 2000 emails ).
my code :
$hostname = 'INBOX';
$inbox = imap_open($hostname,$username,$password) or die('Cannot
connect to Gmail: ' . imap_last_error());
$sorted_inbox = imap_sort($inbox, "SORTDATE", 0);
is there any way to read email piece by piece?