Re: [PHP] imap_open use to read the sent mail using gmail

[email protected] (TR Shaw)
Newsgroups php.general
Message-ID <[email protected]>
On Mar 13, 2013, at 10:20 AM, Kevin Peterson wrote:

> Hi, 
> 
> I am using imap_open ("{imap.gmail.com:993/imap/ssl/novalidate-cert/norsh}Inbox, $user, pass) but want to access gmail sent box not the inbox. Please suggest how to proceed. 
> 

Use

$mboxes = imap_getmailboxes($imap, "{imap.gmail.com:993/imap/ssl/novalidate-cert/norsh}, "*");
print_r($mboxes);

To find mailbox names.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.