I changed code to use microsoft ews-java-api and issue resolved.Įxample code to make connection and read emails with attachment and passed subject using microsoft ews-java-api: import .core. I also had this issue in reading emails from an outlook office365 account which was upgraded recently. hit the back button marked mail (top left) when it returns to the accounts screen it will start to authenticate and will return a check/tick sign.
Please note the password field is blank enter your account’s password here and then press the tab button to move the focus out of the password field the sys.
Once you have cancelled you will see the Mail account details: Apple system preferences - Internet accounts. * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+ĭEBUG: protocolConnect login, host=, password=ĬGF2a3VtYXIwQHB1YmxpY2lzZ3JvdXBlLm5ldABwYXZrdW1hcjBAcHVibGljaXNncm91cGUubmV0AFNyaWRoYWJ2cmsrMTM= enter the new/updated password (you will already have set on a normal computer) now flick the account on/off switch to off position. Press cancel here as nothing you enter will validate. * OK The Microsoft Exchange IMAP4 service is ready. DEBUG: JavaMail version 1.4eaĭEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.8.0_112\jre\lib\javamail.providers (The system cannot find the file specified)ĭEBUG: not loading resource: /META-INF/javamail.providersĭEBUG: successfully loaded resource: /META-INF/ĭEBUG: Providers Listed By Class Name: ĭEBUG: successfully loaded resource: /META-INF/ĭEBUG: not loading resource: /META-INF/ĭEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.8.0_112\jre\lib\ (The system cannot find the file specified)ĭEBUG: getProvider() returning I checked all the links, i tried few solutions suggested but they dint work. The only way I can get the Inbox to fresh to.
Messages filed or deleted on another Mac or iPhone do not move/remove. This only started being a problem in the last two day. Session = Session.getInstance(properties) Im having a weird issue with my Outlook, 365, Exchange account in Mac Mail. It was working earlier now its throwing below error : AUTHENTICATE failed.Īt .IMAPStore.protocolConnect(IMAPStore.java:474)Īt (Service.java:275)Īt (Service.java:156)Īt (Service.java:176)Ĭode: Properties properties = new Properties()