Have you tried By keeping the Account Field Blank and Keeping the Folder Name as “Inbox” only .
This will Verfiy that atleast the Outlook it working - Once this works - we can then use the Folder you require.
–
Mukesh
Have you tried By keeping the Account Field Blank and Keeping the Folder Name as “Inbox” only .
This will Verfiy that atleast the Outlook it working - Once this works - we can then use the Folder you require.
–
Mukesh
ya @mukeshkala that’s right
Hi @mukeshkala,
I have tried your suggestion, but it still doesnt work(with the same error msg)…I also try to use the “send outlook mail message” activity, which does not need to specify the folder path, and it still failed with the below message:
Thanks,
Hihiyou
What Version of Outlook activities are you using . You can check the same in the project dependencies .
–
Mukesh
hi @hihiyou
which version of outlook are you using?? This error come with legacy outlook version and look more details in following link
Suggestion :- use higher version of outlook such as Outlook 2016 or higher one (check your colleague outlook version that’s why it’s working there )
@hihiyou can you 1st check whether Get Outlook Mail Messages activity works with your INBOX or not and also mark the checkbox OnlyUnreadMessages to read-only unread emails.
this is just to check whether this activity works or not then will move ahead with troubleshooting or fixture for the issue, before proceeding please sure you have some unread emails in your inbox if not then mark some email as unread in you inbox and debug the workflow.
Note - I have outlook 2007 installed in my system and it perfectly works for me.
hi @indrajit.shah, I checked the Get Outlook Mail Messages activity and it can’t even access to my inbox, and return the same error message.
hi @SamanGuruge, my outlook version is Version 1808, I think it should be updated versions instead of legacy ones.
hi @mukeshkala, for the outlook activities version, do you mean this ?
hi @hihiyou,
Can you please try downgrading the Mail activities to 1.3.0 with lowest applicable version from manage packages.
–
Mukesh
Hi @mukeshkala
I tried to downgrade it and got the below error:
Send Outlook Mail Message: Unable to cast COM object of type ‘Microsoft.Office.Interop.Outlook.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.Outlook._Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00063001-0000-0000-C000-000000000046}’ failed due to the following error: Interface not registered (Exception from HRESULT: 0x80040155).
Are you using Outlook 365? If so you need to download the Mircosoft 365 activities avaliable here: Microsoft Office 365 - RPA Component | UiPath Marketplace
Hello,
My work around to using “Get Outlook mail Messages” was using “Get IMAP Mail Messages” and entering in 993 for the port and the server email address of : outlook.office365.com
Try it and see if you have any success with it.
An ArgumentOutOfRangeException exception is thrown when a method is invoked and at least one of the arguments passed to the method is not null
and contains an invalid value that is not a member of the set of values expected for the argument. The ParamName property identifies the invalid argument, and the ActualValue property, if a value is present, identifies the invalid value.
Typically, an ArgumentOutOfRangeException results from developer error. Instead of handling the exception in a try
/ catch
block, you should eliminate the cause of the exception or, if the argument is returned by a method call or input by the user before being passed to the method that throws the exception, you should validate arguments before passing them to the method.
I too have a similar issue. I request immediate assistance with this.
22.4.3+Branch.master.Sha.926b4e643842c0bd04601053628fabcad850b6c3
Source: Get Outlook Mail Messages
Message: The specified folder does not exist
Exception Type: System.ArgumentException
1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Mail.Activities.Extensions.TaskExtensions.<TimeoutAfter>d__1
1.MoveNext()Hi @indrajit.shah,
I have outlook 2007 and I am using GetOutlookMailMessage activity, I have unread mail in my inbox and it throws error "RemoteException wrapping System.Exception: Job stopped with an unexpected exit code: 0xC0000005
", Could you please help me with this if it working perfectly at your end with outlook 2007.
@indrajit.shah
Please ignore my first query, downgrading system mail activities to 1.3.0 worked for me perfectly.
Thanks Anyway
Is there any solution for this same kind of issue ? tried all the possible things which are mention here but not found any solution, can anyone solve this issue plz ? , thx in advance.
Hi,
Try to pass Account Name instead of Account Email id in Get Outlook properties.
Thanks,
JR
If you are using the new outlook you can try downgrading to the old outlook . That seemed to work for me and also try keep the outlook app closed when debuging the projcet
simple solution, the emails should be marked as unread otherwise the system wont retrieved it.