Adding this line works fine for me:
$cc = $client->get_header($bs,"cc");
At least on an IMAP server I have access to. If that doesn't work for you, I guess it's a gmail-specific thing.
In reply to Re: read gmail and extract cc field
by hippo
in thread read gmail and extract cc field
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |