I've noticed that imap_open now exists and works, thank you.
Sadly it seems the imap_open function is unable to connect to SSL servers (the majority of email providers, Gmail, Yahoo etc) all use SSL. It is able to connect to none SSL servers though, would it be possible to fix that?
If you want I can PM you a link to the file that tries to connect to Yahoo, Gmail and Telenet (my Internet provider, does not use SSL).