我使用imap处理网络邮件, 我跟imap说:
public void signup(View view) {
}
我与
联系 $IMAPHostname = "localhost";
$IMAPPort = "143";
$IMAPFlags = "/novalidate-cert";
我通过以下方式获取列表文件夹:
$Folder="INBOX.Drafts";
$Mailbox ='{'.$IMAPHostname.":".$IMAPPort.$IMAPFlags.'}'.$Folder;
$imap = imap_open ($Mailbox, $session->username."@mydomain.com", $session->password);
输出:
$list = imap_list($mailbox, "{imap.mydomain.com}", "*");
当我尝试:
"pass","INBOX.Drafts","INBOX.Trash","INBOX.spam","INBOX.Sent","errors reports","Spam","INBOX"
显示此错误:
“无法附加到邮箱INBOX.Drafts:没有这样的邮箱”
当我在草稿中收到2条邮件的计数消息。 怎么了?