
 Ryan E - 2010-02-17 22:47:22 - 
In reply to message 1 from Cesar Venegas 
This *MIGHT* be your problem, I'm not sure:
In the line:
$structure = imap_fetchstructure($mbox, $jk , FT_UID);    
I took out the last argument  FT_UID:
$structure = imap_fetchstructure($mbox, $jk );    
and now it works.  
I don't have a 100% explanation for it, but another script i saw didn't have this FT_UID argument, so thats why I tried taking it out.  This made me lose many hours!