Support Portal

for ProcessRobot and WinAutomation

Start a new topic
Answered

%RetrievedEmails[0].From% empty

I have a script running 


1.) open outlook

2.) Retrieve email messages from folder (saved as %RetrievedEmails%)

3.) Python Scriptis returning empty




image



However when I do %RetrievedEmails.Count% it prints the number as expected. How come .From, etc don't appear and only .Count does? 



Best Answer

Please try placing the variable into quotes like this:


print("%RetrievedEmail[0].From%")


1 person has this question

ADMIN
Answer

Please try placing the variable into quotes like this:


print("%RetrievedEmail[0].From%")

Hey, I've also face the same problem a few days back and after searching in the web for a certain amount of time I got the solution to this problem in a facebook page which helped me resolving my problem.

Login or Signup to post a comment