|
@@ -517,7 +517,7 @@ public class EmailParseService {
|
|
|
Date startDate, Date endDate,
|
|
|
List<String> folderNames) throws Exception {
|
|
|
if (CollUtil.isEmpty(folderNames)) {
|
|
|
- folderNames.add("INBOX");
|
|
|
+ folderNames = ListUtil.toList("INBOX");
|
|
|
}
|
|
|
Store store = EmailUtil.getStoreNew(mailboxInfoDTO);
|
|
|
if (store == null) {
|