Happy82 Posted August 23, 2016 Share Posted August 23, 2016 (edited) I am trying to access the inbox in my outlook. I have 2 inbox. One is associated to my name. Another one is shared inbox between 3. I am able to read/write emails on both the inbox. I am using the following code #include <OutlookEX.au3> Global $oOutlook = _OL_Open() Global $aFolder = _OL_FolderAccess($oOutlook, "\\Expense Reports\Inbox", Default, Default) If @error Then MsgBox(0, "Error", "Error Accessing Inbox: " & ":" & @error, 5) Exit Else MsgBox(0, "Success", "Success Accessing " , 5) EndIf _OL_Close($oOutlook) it gives me the error code 1. Instead of "\\Expense Reports\Inbox" if i use "*" which points to my inbox it works. I have access to the folder \\Expense Reports\Inbox. I can read/write the emails from that folder. Any help ....... Also if i change "*" to "\\firstname.lastname@example.org" which is my actual root folder. I still get the error 3: Error accessing specified folder. Can some throw some light on this...... Edited August 23, 2016 by Happy82 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now