Calls the func for each message info data from the given fromfolder
func
fromfolder
a VeeDataCache
a Folder
a ForeachInfoData function to call
user data to pass to the func