示例#1
0
bool mail::imapListHandler::untaggedMessage(mail::imap &imapAccount, string name)
{
	if (name != "LIST")
		return false;
	imapAccount.installBackgroundTask( new mail::imapLIST(folders,
							      hier.length(),
							      folder_chset,
							      oneFolderOnly));
	return true;
}
示例#2
0
bool mail::imapCREATE::untaggedMessage(mail::imap &imapAccount, string msgname)
{
	if (msgname == "LIST") // Untagged LIST replies
	{
		hiersep.clear();
		imapAccount.installBackgroundTask( new mail::imapLIST(hiersep,
								      0, true));
		return true;
	}
	return false;
}