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

How to parse the email Attachment Id from office 365 Email

I need to parse the below email attaachment  Id from the image below.I am trying with decoding with base 64 but its not working.what format it,please let me know?

"AAMkADk5N2EyNjZkLWUxMmItNGJlYS1hNzM1LWNjMWNlMGRlYjAyZQBGAAAAAAAbb5Jg7a-xRohYIDwg9B-aBwBI-U8lKS6_QYI2YWOzyTdHAAAAAAEMAABI-U8lKS6_QYI2YWOzyTdHAAAJj9YdAAABEgAQABziFp7OWuNKrQQC4KEDqko="

 

 

InsertFlow.jpg

7 REPLIES 7
Highlighted
Community Support
Community Support

Re: How to parse the email Attachment Id from office 365 Email

Hi @deepakmsflow,

 

Sorry, I have no similar experience on how to parse the attachment id.

Would you share the purpose of doing this?

It seems that the generation of this id has unique rules, and I noticed that a large part of it is the same as the email id.

But I am afraid I don't know how to parse it.

 

Best Regards,

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: How to parse the email Attachment Id from office 365 Email

the use case is "We are trying to archive the Email as *.Msg File."

For Example: Email with attachmednt and Image Content in the body

*the Email has an attachment

*We have pasted one or more  Images in the body of the Email,the HTML source will be like below 

<img width=\"846\" height=\"351\" id=\"Picture_x0020_1\" src=\"cid:image001.png@01D4AE76.EC8D3C80\" style=\"width:8.8125in; height:3.6562in\">

 

While Archiving I need to associate the correct [rc=\"cid:image001.png@01D4AE76.EC8D3C80\" ] cid with File Attachment which Comes from the Flow.how to associate it?Can you help me with that please?

 

Highlighted
Community Support
Community Support

Re: How to parse the email Attachment Id from office 365 Email

Hi @deepakmsflow,

 

You seem to want to export the email to a .msg file.

You could use Export email action.

Image reference:

25.PNG

 

Best Regards,

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: How to parse the email Attachment Id from office 365 Email

Thankyou.Still I have one issue ,its now saving as msg file in c drive,but if I open the Msg File it says "its already opened or doesnt have permission".can you help me with this.

Highlighted
Community Support
Community Support

Re: How to parse the email Attachment Id from office 365 Email

Hi @deepakmsflow,

 

Try to save the message in .eml type.

I am testing on my side, if use the .eml, everything works fine.

38.PNG

 

Best Regards,

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: How to parse the email Attachment Id from office 365 Email

ok..thanks .I forgot to report another issues ,If the email has Attachment and Image in the body,the archived email message is not showing the attachment.I tried by attachment property,but still the attachment is not showing.please help me with this.

Highlighted
Frequent Visitor

Re: How to parse the email Attachment Id from office 365 Email

@v-bacao-msft Any Update on attachment issues reported?

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Users online (4,659)