imap_open function shows Can't open mailbox..no such mailbox

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Lakshmi Saripella
Forum Newbie
Posts: 2
Joined: Mon Jan 19, 2009 1:13 am

imap_open function shows Can't open mailbox..no such mailbox

Post by Lakshmi Saripella »

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.
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

Post by alex.barylski »

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

Post by Lakshmi Saripella »

Thanks! Dropping leading slash helped. It works now.
Post Reply