Re: [PHP] how to read emails with php

2012-12-09 Thread Michael Wallner
On 4 December 2012 19:24, Farzan Dalaee wrote: > Warning: imap_open() [function.imap-open]: Couldn't open stream > mail.mydomain.net:143/pop3INBOX in C:\xampp\htdocs\mail.php on line 6 > > this is my code > > $host = 'mail.mydomain.net:143/pop3'; > $user = 'x...@mydomain.net'; > $password = 'myPas

[PHP] Re: gettext() troubles

2005-09-23 Thread Michael Wallner
Hi Denis Gerasimov, you wrote: > I am facing some troubles with gettext. > ... > putenv("LANG=ru_RU"); Speaking from my experience, you need to use only "ru" there on Windows... > setlocale (LC_ALL,"ru"); ...but you definitly have to use the Windows abbreviation for the corresponding locale in

[PHP] Re: imap_open() on windows extremely slow?

2004-09-08 Thread Michael Wallner
Hi Michael Sims, you wrote: > Anytime I see something like this, I suspect that the server (in this > case, Courier IMAP) is attempting an ident lookup on the client, or > is attempting a reverse DNS lookup. Well, Courier did already run with -nodnslookup -noidentlookup. It seems that it is waiti

Re: [PHP] Re: imap_open() on windows extremely slow?

2004-09-08 Thread Michael Wallner
Hi Raditha Dissanayake, you wrote: > What I am saying is that opening a socket connection has plenty of > over heads whether it's imap or not. It's for this reason that most > clients (mail or otherwise) keep the connection open for short > durations even if no data is exchanged. Don't lose hair o

[PHP] Re: imap_open() on windows extremely slow?

2004-09-08 Thread Michael Wallner
Hi Raditha Dissanayake, you wrote: > let me guess ip.ip.ip.ip=127.0.0.1 ? (when in linux) Yes, that's true. > if yes this behaviour isn't really worth worrying about. So you say it'd take equally long to call imap_open() from a remote linux machine? 5 seconds seem far too long for me, though..

[PHP] imap_open() on windows extremely slow?

2004-09-08 Thread Michael Wallner
Hi, I wonder if anyone experienced the same as I did the last few days. If I call imap_open() on linux it takes less than 0.2s to return, but if I try that on windows it needs about 5s! to successfully connect to the imap server. Is this behaviour naturally? My connection string looks like the f