cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Makoto1
Advocate I
Advocate I

Could not extract "From" or "To" parameters from RetrievedMails in "Retrieve email messages from Outlook" action.

Using "Retrieve email messages from Outlook", I could not extract "From contains" or "To contains", even though I can extaract Subject contains or Body contains from the Outlook e-mail.

 

referred to

Outlook - Power Automate | Microsoft Docs

4 ACCEPTED SOLUTIONS

Accepted Solutions
MichaelAnnis
Super User
Super User

For some stupid reason, it is not .From.

 

I think it’s .’From’ or something like that. I asked the same question about 3-6 months ago, so you should be able to find it. 

View solution in original post

Makoto1
Advocate I
Advocate I

I have already read this one

https://powerusers.microsoft.com/t5/Connecting-To-Data/Cant-put-the-quot-from-quot-and-quot-body-of-...

But it was about Power Automate topic.

My concern is about PAD.

For example, I can use RetrivedEmail[0].cc or RetrivedEmail[0].subject,

but I can not use RetrivedEmail[0].To or RetrivedEmail[0].From in PAD script after extracting outlook E-mail.

View solution in original post

Henrik_M
Super User
Super User

%CurrentItem['From']%

View solution in original post

yoko2020
Responsive Resident
Responsive Resident

I know this error, classic bug.

@Makoto1 

 

%RetrivedEmail[0]['To']%
%RetrivedEmail[0]['From']%

 

View solution in original post

6 REPLIES 6
MichaelAnnis
Super User
Super User

For some stupid reason, it is not .From.

 

I think it’s .’From’ or something like that. I asked the same question about 3-6 months ago, so you should be able to find it. 

Makoto1
Advocate I
Advocate I

I have already read this one

https://powerusers.microsoft.com/t5/Connecting-To-Data/Cant-put-the-quot-from-quot-and-quot-body-of-...

But it was about Power Automate topic.

My concern is about PAD.

For example, I can use RetrivedEmail[0].cc or RetrivedEmail[0].subject,

but I can not use RetrivedEmail[0].To or RetrivedEmail[0].From in PAD script after extracting outlook E-mail.

Thanks.

It may be "reserved keywords" such as repeat, wait, call or times.

 

Henrik_M
Super User
Super User

%CurrentItem['From']%

yoko2020
Responsive Resident
Responsive Resident

I know this error, classic bug.

@Makoto1 

 

%RetrivedEmail[0]['To']%
%RetrivedEmail[0]['From']%

 

Makoto1
Advocate I
Advocate I

Henrik_M, yoko2020,MichaelAnnis,

I have been able to extract the items using your solutions.

Thanks!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Top Kudoed Authors
Users online (4,775)