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,
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
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
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
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
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
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
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
-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
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
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
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
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
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
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:
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
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
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
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
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 ==
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
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
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) {
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
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
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
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
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
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
{ } 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
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
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
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
-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
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
-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 =
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] . : .
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
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
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
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
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
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 =
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
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
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
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
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
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
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.
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
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:
52 matches
Mail list logo