cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
faceoff
New Member

How to Get Email Content (To, From, Date/Time) from a .msg file (in SharePoint)

Hi,

 

I have a SharePoint document library which can contains different type of files. I need to have a flow when a .msg (email) is uploaded the flow reads the Email content, gets Sender (From), Receiver(To), Date and Time and then updates metadata accordingly. This flow should be triggered in SharePoint and not outlook.

 

I setup the flow to be triggered when an email is uploaded  and here are the steps to get the content:

 

faceoff_0-1623944308086.png

 

the result of Set Variable is something like this:

faceoff_1-1623944858554.png

 

How can I convert this result to an understandable string that can be parsed? 

 

Thanks

 

 

 

2 REPLIES 2
Rahber
Super User II
Super User II

getfilecontent returns binary information of the file.

 

There is no direct way to parse a .msg file in Power Automate.

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,
Rahber

Thanks sir.

 

What would you recommend in this case? Do you think if it's converted to PDF then it can be parsed?

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,037)