can_refresh_folder


Description:

[ Version ( since = "2.22" ) ]
public virtual bool can_refresh_folder (FolderInfo info) throws Error

Returns if this folder (param info) should be checked for new mail or not.

It should not look into sub infos (info->child) or next infos, it should return value only for the actual folder info. Default behavior is that all Inbox folders are intended to be refreshed.

Parameters:

this

a Store

info

a FolderInfo

Returns:

whether folder should be checked for new mails