ok, here we go. imap functions seem tobe funny. I could not get php to compile with the latest imap, I was getting errors about xml, go figure. and could not not like lib/yes go figure. I downloaded php 4.0.5dev all compiled well, but I get strange things happening, like imap functions do not return errors they just timeout. some functions just dont work, only timeout and cause segfaults, I cant tell if there are errors or not because of this. foreach($this->mail_headers as $pos => $val) $this->mail_body[$pos] = imap_body($this->mail_stream, $pos); where mail_headers is an array with all the headers pos and their value. this causes segfaults. any idea's? I would pref not to use the dev version of php? I also noticed on ftp://ftp.cac.washington.edu/imap/ that the newest imap is beta, anything stable out there? -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED]