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; }
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; }