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
1 Comment

ADMIN
Answer

Please try placing the variable into quotes like this:


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

Login or Signup to post a comment