It looks to me like you're mixing and matching imap and pop functions 
incorrectly.

Squirrelmail uses imap to create the folders. When you access port 110, you're making a pop3 connection which won't be able to see any subfolders (only the INBOX). I'm not familiar with the imap libraries in PHP (for instance, it's somewhat surprising to me that the imap_open() function apparently happily opens a pop3 connection). It may be as trivial as changing the port number to 143, but don't bet on it (shouldn't be too hard to figure out though).

        good luck,
                ~c


Ian Sweeney wrote:
My ISP uses SquirrelMail as the web email client. When mail is sent from the SquirrelMail client a copy is stored in the INBOX.Sent folder.

From a separate web site I’m working on I can use PHP to get at email in the INBOX using

$mbox=imap_open("{pop3.my-isp.com:110/pop3}INBOX","my-username","my-password");

How do I access the emails in the INBOX.Sent folder?

I tried

$mbox=imap_open("{pop3.my-isp.com:110/pop3}INBOX.Sent","my-username","my-password");

with no luck.

**Ian Sweeney**


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 27/03/2006




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to