
 aleks - 2006-12-07 02:19:57
Hi! Useful script, tnx! 
I wanted to ask you if script supports maildir format? It doesn't look like it does, but I'm not quite sure.
Also I did some testing and I usual get this error:
Warning: Invalid argument supplied for foreach() in receivemail.class.php on line 122
It referres to this line: 
120		$struckture = imap_fetchstructure($this->marubox,$mid);
121		$ar="";
122		foreach($struckture->parts as $key => $value)
so, it's seems like it's not checking for empty arrays. Nice work, once again.