cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
maxx
Frequent Visitor

EMAIL HEADER DETAILS

Hello

 

I am presently using vba in outlook to extract details from the email header of inbound emails to my inbox. I then forward the mail with the updated details to another folder that triggers a flow based on these details.

 

unfourtantly i can no longer use rules to run the script in outlook.

 

I am wondering if it is possible to extract the same data with a new element in the triggered flow. 

5 REPLIES 5
v-bacao-msft
Community Support
Community Support

Hi @maxx,

 

Could you provide more details about your needs?

If you want to get the subject of the email you received, you could use When an email arrives as the trigger, and Dynamic content-Subject it outputs can be obtained and used.

If you want to get the Body of the email, you could use Html to text to get the body content, then use WDL function to extract the corresponding information.

Please provide more details about your requirements and which should be helpful for me to share a further suggestion.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HI BARRY

 

i am trying to pull the originating ip from the header of the email this will allow me to redirect the email to the correct department based on the location the email was sent from.

 

v-bacao-msft
Community Support
Community Support

Hi @maxx,

 

Do you want to extract the content contained in the email? Subject or body?

Could you provide a template for specific email content?

Also, I don't particularly understand "redirect the email to the correct department based on the location the email was sent from". Could you provide more detailed explanations?

Please provide more details.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have the same question.

 

We don't need access to any of the existing dynamic fields, we need full access to the email "Header".  This is visible in the email component.

 

I can see email headers as on Output (it's above the email body) in the "When a new email arrives" component.  (this is when viewing a flow that has already run).  I just can't find a way to access the header values through the "Dynamic Content".  

 

Is there any way to access the header values in an O365 Email based component.

 

Thanks, 

 

Dan

Anonymous
Not applicable


@Blatan wrote:

 

 

Is there any way to access the header values in an O365 Email based component.

 


Ditto

I get a lot of emails from salesforce.com, for example, and the 'from' field does not allow accurate identification, however the x-header field x-sender domain is consistent (*.salesforce.com).  would be appreciated if the headers were exposed in dynamic content.

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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
Users online (1,198)