mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Explicitly set mail event scope to folder
This commit is contained in:
parent
c81f052199
commit
c926de08f0
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ public class MessageHelper {
|
||||||
static Properties getSessionProperties(int auth_type, boolean insecure) {
|
static Properties getSessionProperties(int auth_type, boolean insecure) {
|
||||||
Properties props = new Properties();
|
Properties props = new Properties();
|
||||||
|
|
||||||
|
props.put("mail.event.scope", "folder");
|
||||||
|
|
||||||
String checkserveridentity = Boolean.toString(!insecure).toLowerCase();
|
String checkserveridentity = Boolean.toString(!insecure).toLowerCase();
|
||||||
|
|
||||||
// https://javaee.github.io/javamail/docs/api/com/sun/mail/imap/package-summary.html#properties
|
// https://javaee.github.io/javamail/docs/api/com/sun/mail/imap/package-summary.html#properties
|
||||||
|
|
Loading…
Reference in a new issue