cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
maxx
Level: Powered On

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
Highlighted
Community Support Team
Community Support Team

Re: EMAIL HEADER DETAILS

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.
maxx
Level: Powered On

Re: EMAIL HEADER DETAILS

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.

 

Community Support Team
Community Support Team

Re: EMAIL HEADER DETAILS

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.
Blatan
Level: Power Up

Re: EMAIL HEADER DETAILS

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

schreibman
Level: Powered On

Re: EMAIL HEADER DETAILS


@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
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

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