From: charlie d. <cd...@si...> - 2006-03-28 13:46:50
|
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 > |