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