Outlook email account - solved

I am trying to figure out what to put into the account section in uipath.mail.outlook.activities.getoutlookmailmessages.

I am putting my name.lastname@companyname.com - but there is a validation error.

I am not sure what else should be in this string

As long as you are using a string for the Account property, the Get Outlook Email Messages action should not throw any errors. Maybe this sounds a bit too basic but are you sure you put the email address in quotes ?

Heading says Outlook Email Account - Solved

If u still have a doubt , how is it solved :smiley: ?

i needed to put it inside “”

though now, i get

RateChange has thrown an exception

Source: Get outlook mail messages

Message: The specified folder does not exist

Exception Type: ArgumentException

System.ArgumentException: The specified folder does not exist
at UiPath.Mail.Activities.GetMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

1 Like

this was exactly my problem. I am really new to this :slight_smile:

1 Like