Re: [PHP] imap_open use to read the sent mail using gmail

2013-03-13 Thread TR Shaw
On Mar 13, 2013, at 10:20 AM, Kevin Peterson wrote: Hi, I am using imap_open ({imap.gmail.com:993/imap/ssl/novalidate-cert/norsh}Inbox, $user, pass) but want to access gmail sent box not the inbox. Please suggest how to proceed. Use $mboxes = imap_getmailboxes($imap,

[PHP] PHP imap_open login delay (Cyrus IMAP)

2010-04-21 Thread Evgeniy Arbatov
Hello, I would like to ask you a question about the PHP imap_open call. I have an issue with imap_open producing an unreasonable delay when logging into the Cyrus IMAP server. The delay is exactly 5 seconds and it is constant across different connections. 1 0.00 TCP 40496 imap [SYN

[PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Mathijs van Veluw
Hello there, i use imap to read incoming mail from the the SMTP server. On the live server everythings works as it should. I can use imap_open('/path/to/file', '', ''), to read just one raw-mail. On my test env i can't get this to work. I get the error message: Can't open mailbox. While on the

Re: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Thijs Lensselink
Quoting Mathijs van Veluw [EMAIL PROTECTED]: Hello there, i use imap to read incoming mail from the the SMTP server. On the live server everythings works as it should. I can use imap_open('/path/to/file', '', ''), to read just one raw-mail. On my test env i can't get this to work. I get the

Re: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Mathijs van Veluw
Thijs Lensselink wrote: Quoting Mathijs van Veluw [EMAIL PROTECTED]: Hello there, i use imap to read incoming mail from the the SMTP server. On the live server everythings works as it should. I can use imap_open('/path/to/file', '', ''), to read just one raw-mail. On my test env i can't get

Re: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Thijs Lensselink
Quoting Mathijs van Veluw [EMAIL PROTECTED]: Thijs Lensselink wrote: Quoting Mathijs van Veluw [EMAIL PROTECTED]: Hello there, i use imap to read incoming mail from the the SMTP server. On the live server everythings works as it should. I can use imap_open('/path/to/file', '', ''), to read

Re: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Mathijs van Veluw
Thijs Lensselink wrote: Quoting Mathijs van Veluw [EMAIL PROTECTED]: Thijs Lensselink wrote: Quoting Mathijs van Veluw [EMAIL PROTECTED]: Hello there, i use imap to read incoming mail from the the SMTP server. On the live server everythings works as it should. I can use

Re: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Michael Kubler
File Permissions? PHP safe mode? Mail server locking the file? Can you /tail /path/to/file-with-contents-at-bottom / ?? Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Mathijs van Veluw wrote: I get the error message: Can't open mailbox. While on the live server

RE: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Edward Kay
-Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 09 June 2008 13:43 To: php-general@lists.php.net Subject: Re: [PHP] imap_open() error. (Can't open mailbox) Quoting Mathijs van Veluw [EMAIL PROTECTED]: Thijs Lensselink wrote: Quoting Mathijs van

Re: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Mathijs van Veluw
Edward Kay wrote: -Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 09 June 2008 13:43 To: php-general@lists.php.net Subject: Re: [PHP] imap_open() error. (Can't open mailbox) Quoting Mathijs van Veluw [EMAIL PROTECTED]: Thijs Lensselink wrote: Quoting

Re: [PHP] imap_open('/path/to/mbox', '', '')

2006-12-18 Thread Richard Lynch
On Sat, December 16, 2006 4:02 am, Jochem Maas wrote: Richard Lynch wrote: I'm having trouble with Windows imap_open. I have the exact same mbox on a Linux box, with the exact same PHP code opening it just fine. I FTP (binary) to the Windows box (and a second time to be sure it wasn't an

Re: [PHP] imap_open('/path/to/mbox', '', '')

2006-12-18 Thread Jochem Maas
Richard Lynch wrote: On Sat, December 16, 2006 4:02 am, Jochem Maas wrote: Richard Lynch wrote: I'm having trouble with Windows imap_open. ... http://bugs.php.net/bug.php?id=39880 Looks like it's time to just dual boot and abandon Windows. (again). :-v ouch. one day you'll have a

Re: [PHP] imap_open('/path/to/mbox', '', '')

2006-12-16 Thread Jochem Maas
Richard Lynch wrote: I'm having trouble with Windows imap_open. I have the exact same mbox on a Linux box, with the exact same PHP code opening it just fine. I FTP (binary) to the Windows box (and a second time to be sure it wasn't an FTP flake-out). Opening the mbox in Windows yields

Re: [PHP] imap_open('/path/to/mbox', '', '')

2006-12-16 Thread Richard Lynch
On Sat, December 16, 2006 4:39 am, [EMAIL PROTECTED] wrote: Would converting Un*x newlines to Windows on the entire mbox help? Seems to me that the RFC is quite specific about the newlines of headers and body, and converting the mbox in toto is unlikely to be useful. you shouldn't be

[PHP] imap_open('/path/to/mbox', '', '')

2006-12-15 Thread Richard Lynch
I'm having trouble with Windows imap_open. I have the exact same mbox on a Linux box, with the exact same PHP code opening it just fine. I FTP (binary) to the Windows box (and a second time to be sure it wasn't an FTP flake-out). Opening the mbox in Windows yields a message like: PHP Notice:

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-18 Thread viraj
did you tried telneting to host's 143 port? if you are getting a response from the IMAP server you better go through the php-imap requirements, it's here.. http://www.php.net/imap ? I have got the address and the port to the imap server right, but I think that the imap server requires some

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

Re: [PHP] imap_open

2005-09-16 Thread John Nichel
Joachim Person wrote: 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) {

[PHP] imap_open hangs...

2005-08-22 Thread Michael Baas
Hi, I have a script which works fine for many users, but for some it doesn't. I've been able to narrow it down to the imap_open-Command which just hangs 'forever'. I have verified that the imap-extensions are available, but other than that I have no ideas what's going on there, why it would not

Re: [PHP] imap_open hangs...

2005-08-22 Thread Burhan Khalid
Michael Baas wrote: Hi, I have a script which works fine for many users, but for some it doesn't. I've been able to narrow it down to the imap_open-Command which just hangs 'forever'. I have verified that the imap-extensions are available, but other than that I have no ideas what's going on

Re: [PHP] imap_open hangs...

2005-08-22 Thread Michael Baas
Thanks Buran, 1. Connection is timing out, and the time limit expired. We're only connecting to locahost here, sorry, forgot to mention. 2. Firewall is blocking connections The ISP claims to support imap_open for POP3 and ISP, so I would expect him to have sorted that one out. Other

Re: [PHP] imap_open hangs...

2005-08-22 Thread Michael Baas
Thanks Buran, ..and apologies for mis-spelling your name, Burhan ;) Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imap_open with variable fails

2005-05-18 Thread Michael Baas
Hi, just did want to let this sink unanswered, but I see that 6 days means quite a lot of messages piled up. Should have answered earlier, but... Anyway, I think I had tried the \{ or '{-combinations as well and it didn't work - but I can't remember exactly and can't reproduce now, since I was

[PHP] imap_open with variable fails

2005-05-11 Thread Michael Baas
Hi, I'm using imap_open and the script works fine on my server with 4.3.11. Now as user with 4.3.10 reported that the script does not work. He finally got it working by replacing my variable-names in the imap_open-command with strings containing exactly the same data (except for the leading

Re: [PHP] imap_open with variable fails

2005-05-11 Thread Richard Lynch
{ } became special characters in PHP strings, at some point... You may or may not be able to change a php.ini setting to change that... I wouldn't have expected it to change from 4.3.10 to 4.3.11, but I don't really KNOW when it changed. I suck at tracking version numbers and small changes with

[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

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

2004-09-08 Thread raditha dissanayake
Michael Wallner wrote: 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

[PHP] imap_open() fails with CouirerIMAP

2004-04-10 Thread Pembo13
Hello, Does anyone have php's imap functions working with CourierIMAP as their imap server? Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imap_open() fails with CouirerIMAP

2004-04-10 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On Saturday 10 Apr 2004 22:59, Pembo13 wrote: Hello, Does anyone have php's imap functions working with CourierIMAP as their imap server? Yes, as does IMP (see horde.org). What errors do you get? What code are you using (strip it down

Re: [PHP] imap_open() fails with CouirerIMAP

2004-04-10 Thread Pembo13
Well I've setup a reltively simple code block: function mailboxmsginfo($mailbox='INBOX', $username, $password) { $username = $username.@dalive.com; $imap_stream = {localhost:143/notls}.$mailbox; $mbox = imap_open($imap_stream, $username, $password) or die(can't connect ($username with

Re: [PHP] imap_open() fails with CouirerIMAP

2004-04-10 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 10 Apr 2004 23:42, Pembo13 wrote: Well I've setup a reltively simple code block: function mailboxmsginfo($mailbox='INBOX', $username, $password) { $username = $username.@dalive.com; $imap_stream =

[PHP] imap_open() and courier-imap server

2003-06-25 Thread Jeffrey D. Means
This code does not work with my system. Any ideas as for a work arround?? --code starts $config[imap_server] = bast.picotech.net; $config[imap_port] = 143; $mailbox = INBOX; $login[username] = myusername; $login[password] = mypassword; $servername = { . $config[imap_server] . : .

[PHP] imap_open()

2003-06-02 Thread buttoz
hi, i have problem with imap_open function, my code is : ?php $inbox = imap_open({pop.012.net.il:110/pop3}INBOX, user, password); $total = imap_num_msg($inbox); print $total; ? when i run i recive : Fatal error: Call to undefined function: imap_open() in

Re: [PHP] imap_open()

2003-06-02 Thread Haseeb Iqbal
check if you have complied php with imap support and if you are on windows then check if it is uncommencted in the ini Haseeb - Original Message - From: buttoz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:46 AM Subject: [PHP] imap_open() hi, i have problem

[PHP] imap_open and 503 Error

2003-03-28 Thread Brian Mitchell
Anyone ever encounter a 503 server error when trying to open a stream to a mailbox using imap_open? If so, anyway to fix it? Thanks, Brian

[PHP] imap_open Error

2003-03-25 Thread Brian Mitchell
I'm using the following code to try to open a stream to access my email: $user_id = userid; $password = password; $inbox = @imap_open({mail.host.com:143}INBOX, $user_id, $password); I've verified the correct username, password, hostname combination by setting up an IMAP account through

[PHP] imap_open

2003-02-09 Thread Bartosz Matosiuk
hi i'm using imap_open for opennig mailbox on the server where the script is and everything is ok. I want also to open my mailbox on the other server but script is behaving in a strange way. I looks like it's unable to open that account but it is not giving me any error message. I not

[PHP] imap_open failure

2003-01-13 Thread Jeff Schwartz
I'm using imap_open in PHP 4.3.0 to successfully access every pop server I've tried - except 1: mail.fea.net. I know the mail server, port, login, and password are correct because I can successfully log into the pop server with both telnet and Outlook. Here's the code: if ($pop_inbox =

[PHP] imap_open with port other than 110

2002-12-11 Thread Jeff Schwartz
We're trying to use imap_open to access a pop3 server which is using port 120 instead of 110. We know the port and pop3 server are working because we can access it from Outlook. $pop_inbox = imap_open({.$mailserver./$mailbox_type:$port},$login,$password); The code worked fine with port 110

[PHP] imap_open authentication failure

2002-11-29 Thread Dumdeedum
Hi, I'm using the following code: $x = imap_open({mail..com:110/pop3}INBOX, [EMAIL PROTECTED], ); echo $x ? YAY! : NO YAY!BR . implode(BR, imap_errors()); It works fine on my local server, but as soon as I try it on the live machine it gives me: Retrying CRAM-MD5 authentication after

Re: [PHP] imap_open

2002-11-18 Thread Michael Sims
On Sun, 17 Nov 2002 22:08:36 -0800 (PST), you wrote: The function imap_open() is for opening an connection to an IMAP server. It doesn't operate directly on a file system and it is ignorant of the actual mailbox implementation as this is all abstracted by the IMAP protocol. Where the mail

Re: [PHP] imap_open

2002-11-18 Thread Rasmus Lerdorf
That's not actually true. The imap functions are an abstraction on top of many different backends, not just imap. You can talk to pop and nntp servers as well, for example, and yes, even a local mailstore with no server involved at all. Oops, my mistake. I was not aware. And of course I

[PHP] imap_open

2002-11-17 Thread Bill Rowell
i'm looking for information on how to open mailboxes stored in user directories using imap_open. i've lookd into the c-client documentation as well as php.net and haven't had any luck. my experience so far is that imap_open will just open a mailbox stored in /var/spool/mail. has anyone out

Re: [PHP] imap_open

2002-11-17 Thread Michael Sims
On Sun, 17 Nov 2002 21:00:13 -0500 (EST), you wrote: i'm looking for information on how to open mailboxes stored in user directories using imap_open. i've lookd into the c-client documentation as well as php.net and haven't had any luck. my experience so far is that imap_open will just open a

Re: [PHP] imap_open

2002-11-17 Thread Rasmus Lerdorf
The function imap_open() is for opening an connection to an IMAP server. It doesn't operate directly on a file system and it is ignorant of the actual mailbox implementation as this is all abstracted by the IMAP protocol. Where the mail is stored is a function of your IMAP server, not PHP.

Re: [PHP] imap_open() dosen't work :(

2001-03-26 Thread Chris Lee
have you edited your php.ini file ? you have to uncomment the imap dll. extension=php_imap4r2.dll if you dont have this dll, you'll have to find it, cant help you there. -- Chris Lee [EMAIL PROTECTED] ""Nilesh Parmar"" [EMAIL PROTECTED] wrote in message 001b01c0b54e$fa191c00$[EMAIL

[PHP] imap_open() dosen't work :(

2001-03-25 Thread Nilesh Parmar
Hi Gurus :) I have installed php4.0.4 on my windows 98 machine with apache .I am having a problem while calling te imap_open() function.I get the following error.I get this error also with Linux.(Redhat 7.0). ** Call to undefined function: