We've a requirement to implement php IMAP functions. I've just started exploring those.
I get to see 'Can't open mailbox .... no such mailbox' message when tried the following way.
$conn = imap_open("\{$server:143/imap}INBOX",$user,$pass);
$server has value of our 'domain name'
user and password have details of mailbox login credentials.
Its driving me mad. pls. help at the earliest.
imap_open function shows Can't open mailbox..no such mailbox
Moderator: General Moderators
-
Lakshmi Saripella
- Forum Newbie
- Posts: 2
- Joined: Mon Jan 19, 2009 1:13 am
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: imap_open function shows Can't open mailbox..no such mailbox
Drop the leading slash in the connection string, maybe?
-
Lakshmi Saripella
- Forum Newbie
- Posts: 2
- Joined: Mon Jan 19, 2009 1:13 am
Re: imap_open function shows Can't open mailbox..no such mailbox
Thanks! Dropping leading slash helped. It works now.