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l6V05NSk8xRW1USHdISERfb0JBQSIsInZlciI6IjEuMCIsIndpZHMiOlsiMDk5N2ExZDAtMGQxZC00YWNiLWI0MDgtZDVjYTczMTIxZTkwIl19.EGrkEK5sD6bWYBnaRM0zlrRdDRYb9sjCiW--6sifJcs49NXCQKeuKe6eJuhwdeDqTpHSyan92mb0encA2WvGzszclGrmCdO3eAr-2VWW34nnixeBXFGtFiib23L4iLISLJLHQz7eCcpmSXCeXuQudSgtrry7KU8S7dGZ31N_4-n5OUUVY96dVCOWBRClxCnRU_UQ7-ESQOtCdzLj6mSvThHSmao8G7dqvdSGJeOw78qJaD-JARrSYMH8jy4b2Mbj1ZncwlO8aC7hv6c2EwaUgLySXlUoOKqBgfzc1qxJTTRUeS_7Jw7alSwd43LcUhPWW5KcYrgwyp_c724nDmdTjQ
DEBUG: JavaMail version 1.6.2
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: setDebug: JavaMail version 1.6.2
DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle]
DEBUG IMAPS: mail.imap.fetchsize: 16384
DEBUG IMAPS: mail.imap.ignorebodystructuresize: false
DEBUG IMAPS: mail.imap.statuscachetimeout: 1000
DEBUG IMAPS: mail.imap.appendbuffersize: -1
DEBUG IMAPS: mail.imap.minidletime: 10
DEBUG IMAPS: enable STARTTLS
DEBUG IMAPS: enable SASL
DEBUG IMAPS: SASL mechanisms allowed: XOAUTH2
DEBUG IMAPS: closeFoldersOnStoreFailure
OAUTH2 IMAP trying to connect with system properties to Host:outlook.office365.com, Port: 993, userEmailId: imixs@alexander-logistics.com, AccessToken: eyJ0eXAiOiJKV1QiLCJub25jZSI6InFSUG1IX3JneHBfdWh5UWtOTFF3T2s4SVNDRG5JdmhvRFRRRjctSlp2RjgiLCJhbGciOiJSUzI1NiIsIng1dCI6Ii1LSTNROW5OUjdiUm9meG1lWm9YcWJIWkdldyIsImtpZCI6Ii1LSTNROW5OUjdiU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vGzszclGrmCdO3eAr-2VWW34nnixeBXFGtFiib23L4iLISLJLHQz7eCcpmSXCeXuQudSgtrry7KU8S7dGZ31N_4-n5OUUVY96dVCOWBRClxCnRU_UQ7-ESQOtCdzLj6mSvThHSmao8G7dqvdSGJeOw78qJaD-JARrSYMH8jy4b2Mbj1ZncwlO8aC7hv6c2EwaUgLySXlUoOKqBgfzc1qxJTTRUeS_7Jw7alSwd43LcUhPWW5KcYrgwyp_c724nDmdTjQ
DEBUG IMAPS: trying to connect to host "outlook.office365.com", port 993, isSSL true
* OK The Microsoft Exchange IMAP4 service is ready. [RgBSADQAUAAyADgAMQBDAEEAMAAwADIAMAAuAEQARQBVAFAAMgA4ADEALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]
A0 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
A0 OK CAPABILITY completed.
DEBUG IMAPS: AUTH: PLAIN
DEBUG IMAPS: AUTH: XOAUTH2
DEBUG IMAPS: protocolConnect login, host=outlook.office365.com, user=imixs@alexander-logistics.com, password=<non-null>
DEBUG IMAPS: SASL Mechanisms:
DEBUG IMAPS:  XOAUTH2
DEBUG IMAPS:
DEBUG IMAPS: SASL client XOAUTH2
DEBUG IMAPS: SASL callback length: 2
DEBUG IMAPS: SASL callback 0: javax.security.auth.callback.NameCallback@5f683daf
DEBUG IMAPS: SASL callback 1: javax.security.auth.callback.PasswordCallback@78ffe6dc
A1 AUTHENTICATE XOAUTH2 dXNlcj1pbWl4c0BhbGV4YW5kZXItbG9naXN0aWNzLmNvbQFhdXRoPUJlYXJlciBleUowZVhBaU9pSktWMVFpTENKdWIyNWpaU0k2SW5GU1VHMUlYM0puZUhCZmRXaDVVV3RPVEZGM1QyczRTVk5EUkc1SmRtaHZSRlJSUmpjdFNscDJSamdpTENKaGJHY2lPaUpTVXpJMU5pSXNJ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
DEBUG IMAPS: IMAPProtocol noop
A3 NOOP
A3 OK NOOP completed.
Connection Established using imap protocol successfully !
DEBUG IMAPS: IMAPProtocol noop
A4 NOOP
A4 OK NOOP completed.
DEBUG IMAPS: connection available -- size: 1
A5 SELECT INBOX
* 0 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
* OK [UIDVALIDITY 14] UIDVALIDITY value
* OK [UIDNEXT 167594] The next unique identifier value
A5 OK [READ-WRITE] SELECT completed.
...0 new messages found
