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

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.

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?

 

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.

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.

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.

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.

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

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (6,835)