如何在imap_open中指定用户创建的标签,我的标签名称为Lead
$mailbox = imap_open("{imap.googlemail.com:993/ssl}lead", "USERNAME@googlemail.com", "PASSWORD");
$mail = imap_search($mailbox, "ALL");
$mail_headers = imap_headerinfo($mailbox, $mail[0]);
$subject = $mail_headers->subject;
$from = $mail_headers->fromaddress;
imap_setflag_full($mailbox, $mail[0], "\\Seen \\Flagged");
imap_close($mailbox);
但是我没有收到任何邮件