but Still not working
Fine
—your folder mention is correct but kindly remove the account in the get outlook mail property panel
—and kindly mention the variable mailattach in the output property of get outlook mail activity I think that was missing in the screenshot
—moreover the datatype if mailmessage in the for each loop should be
System.Net.Mail.MailMessage
Hope this would help you
Cheers @dalilasencha
this is the folder I want the robot go to
Just done (step 1 and 3) but, I don’t know how to do step 2 " nd kindly mention the variable mailattach in the output property of get outlook mail activity I think that was missing in the screenshot
—moreover the datatype if mailmessage in the for each loop should be
System.Net.Mail.MailMessage
Hope this would help you
Cheers @dalilasencha
Reply
lakshman
this is the folder I want the robot go to
1
Reply
Palaniyappan:
Fine
—your folder mention is correct but kindly remove the account in the get outlook mail property panel
—and kindly mention the variable mailattach in the output property of get outlook mail activity I think that was missing in the screenshot
—moreover the datatype if mailmessage in the for each loop should be
System.Net.Mail.MailMessageHope this would help you
Cheers @dalilasencha
Reply
Clear Bookmarks Share Flag Reply
Watching
You will receive notifications because you created this topic.
Suggested Topics
Topic | Replies | Views | Activity |
---|---|---|---|
How to avoid Text format (ex: 2-13) converting to Date format (02/13/2019) when writing in Excel |
https://forum.uipath.com/c/build/2929%7C%5B1%5D(https://forum.uipath.com/t/downloading-attachement-from-a-specific-folder-outlook/135166/22)%7C7%7C%5B3h%5D(https://forum.uipath.com/t/how-to-avoid-text-format-ex-2-13-converting-to-date-format-02-13-2019-when-writing-in-excel/135434/2)%7C
|FilePathIssue In Configuration File
https://forum.uipath.com/c/build/2929%7C%5B7%5D(https://forum.uipath.com/t/downloading-attachement-from-a-specific-folder-outlook/135166/22)%7C15%7C%5B4h%5D(https://forum.uipath.com/t/filepathissue-in-configuration-file/135391/8)%7C
|RadioButton Fetching the whole value Error
https://forum.uipath.com/c/build/2929%7C%5B14%5D(https://forum.uipath.com/t/downloading-attachement-from-a-specific-folder-outlook/135166/22)%7C39%7C%5B4h%5D(https://forum.uipath.com/t/radiobutton-fetching-the-whole-value-error/135277/15)%7C
|Getting Error in Read range of Excel Application scope
https://forum.uipath.com/c/build/2929%7C%5B4%5D(https://forum.uipath.com/t/downloading-attachement-from-a-specific-folder-outlook/135166/22)%7C16%7C%5B4h%5D(https://forum.uipath.com/t/getting-error-in-read-range-of-excel-application-scope/135420/5)%7C
|Read range global
There are 4 unread and 262 new topics remaining, or browse other topics in RPA Dev Rookies"
You did not declare output variable for Get Outlook MailMessage activity.
I changed your workflow. Please find the same.
outlookissue.xaml (8.3 KB)
The output variable mailattach though created is not mentioned in the get outlook mail activity property panel
Cheers @dalilasencha
Many thanks , don’t have the message error anymore, but still nothing happening when I launch the robot.
I thank you again for your time and help !!
Outlook is located locally , and have several accounts, could you help me finding the problem?
you are right , this has been changed. I don’t get the error anymore, however still not working. Nothing happens when I launch it
Kindly Make sure that you have some mails unread as the onlyunreadmail property is enabled in the get outlook mail activity
Cheers @dalilasencha
Inside For Each loop, just print the value like this: mail.Subject.Tostring
Have you specified account name properly or not. I.e. Email ID of account.
I have just sent a new email and then obtained this :
Fine usually this error occurs with a activity when any of the variable associated with that activity has no value in it
Cheers @dalilasencha
Your variable declarations is perfect
But the thing is we are not able to get any mail list from get outlook mail activity I.e., the output variable mailattach is null
And this is the reason why we get this error
Let’s confirm this
Before for each loop use a write line activity and mention as
mailattach.Count.ToString
And if the value is more than 1 or 2 then we are getting value from the mail activity
Or
need to check with the properties of the get outlook mail activity
Kindly try that share the screenshot of the output panel which will show us the value of the writeline activity with the count
Cheers @dalilasencha
Buddy
The reason why I can’t work with this xaml is its your outlook
Your workflow is perfect no doubt
But we are missing something that should be configured from your outlook
So though even we have the xaml with us we can check only if you run from ur side, as your system has that outlook account
No worries
We can sort this out easily
May I know what was the output in the output panel for write line activity
Kindly share that screenshot pls
Cheers @dalilasencha