Re: imap_open use to read the sent mail using gmail
| From: | TR Shaw | Date: | Wed, 13 Mar 2013 14:38:13 +0000 |
| Subject: | Re: imap_open use to read the sent mail using gmail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320509@lists.php.net to get a copy of this message | ||
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