cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

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.
Highlighted
Frequent Visitor

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.

 

Highlighted
Community Support
Community Support

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.
Highlighted
New Member

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

Highlighted
Advocate I
Advocate I

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,042)