[PHP] imap + secure connection problems

2005-09-25 Thread Joachim Person
I tried to make the simple program ?php $mbox = imap_open({imap.liu.se:993}, gurka222, nada); echo h1Mailboxes/h1\n; $folders = imap_listmailbox($mbox, {imap.liu.se:993}, *); if ($folders == false) { echo Call failedbr /\n; } else { foreach ($folders as $val) { echo $val . br /\n;

Re: [PHP] imap_open

2005-09-20 Thread Joachim Person
Thanks Viraj, Telneting gives an error like this (translated from Swedish language): Connecting to imap.liu.se...Couldn't connect to the host computer, using port 143: The connection failed. I guess I'm not getting any answer then. Regards, Joachim viraj [EMAIL PROTECTED] skrev i meddelandet

Re: [PHP] imap_open

2005-09-20 Thread Joachim Person
Just want to say that telnet imap.liu.se 993 works just fine (the port for secure communication). But then the command prompt starts to look strange. I cannot see when I'm typing (perhaps it has to do with the secure communication link?!). Where do I go from here? It still doesn't work with

Re: [PHP] imap_open

2005-09-20 Thread Joachim Person
Further, when changing the imap_open line in the script to $mbox = imap_open({imap.liu.se:993/imap/ssl}, joape382, fiol); (I added the /imap/ssl part) I immediately got the following response: Warning: imap_open(): Couldn't open stream {imap.liu.se:993/imap/ssl} in

Re: [PHP] imap_open

2005-09-17 Thread Joachim Person
John Nichel [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Joachim Person wrote: I tried to make the simple program ?php $mbox = imap_open({imap.liu.se:993}, joape382, fil); echo h1Mailboxes/h1\n; $folders = imap_listmailbox($mbox, {imap.liu.se:993}, *); if ($folders

[PHP] imap_open

2005-09-16 Thread Joachim Person
I tried to make the simple program ?php $mbox = imap_open({imap.liu.se:993}, joape382, WapiSse7); echo h1Mailboxes/h1\n; $folders = imap_listmailbox($mbox, {imap.liu.se:993}, *); if ($folders == false) { echo Call failedbr /\n; } else { foreach ($folders as $val) { echo $val . br

[PHP] imap_open

2005-09-16 Thread Joachim Person
What could be the cause of the error Warning: imap_open(): Couldn't open stream ? I have got the address and the port to the imap server right, but I think that the imap server requires some sort of secure login. Could this be the problem? If yes, how can it be solved? If no, what other causes

[PHP] Warning: imap_open(): Couldn't open stream

2005-09-16 Thread Joachim Person
What could be the cause of the error Warning: imap_open(): Couldn't open stream ? I have got the address and the port to the imap server right, but I think that the imap server requires some sort of secure login. Could this be the problem? If yes, how can it be solved? If no, what other