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

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

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

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?

 

Community Support Team
Community Support Team

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

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.

Community Support Team
Community Support Team

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

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.

deepakmsflow
Level: Powered On

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

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,550)