[PHP] imap + secure connection problems

2005-09-25 Thread Joachim Person
I tried to make the simple program Mailboxes\n"; $folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*"); if ($folders == false) { echo "Call failed\n"; } else { foreach ($folders as $val) { echo $val . "\n"; } } echo "Headers in INBOX\n"; $headers = imap_headers($mbox); if

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 c:\inetpub\wwwroot\Tes

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 th

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 meddelan

Re: [PHP] imap_open

2005-09-16 Thread Joachim Person
"John Nichel" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Joachim Person wrote: >> I tried to make the simple program >> >> > $mbox = imap_open("{imap.liu.se:993}", "joape382", "fil"); >> &g

[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 causes

[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 c

[PHP] imap_open

2005-09-16 Thread Joachim Person
I tried to make the simple program Mailboxes\n"; $folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*"); if ($folders == false) { echo "Call failed\n"; } else { foreach ($folders as $val) { echo $val . "\n"; } } echo "Headers in INBOX\n"; $headers = imap_headers($mbox); if