Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Process Mining
Unanswered

Get email attachment content (2 levels down)

(0) ShareShare
ReportReport
Posted on by 24

Hi All


Want to try and build something but not sure where to start with this one... any ideas?

I get notification emails into my Outlook mailbox which contains attachments (.msg outlook format) - inside these attachments are .bin (txt) files which contain the text I'd like to retrieve and query in my process.
Therefore I need to somehow get to attachment information which is a an attachment which is inside another attachment.

Any ideas appreciated

 

Paul

 

Categories:
  • midland192 Profile Picture
    24 on at
    Re: Get email attachment content (2 levels down)

    thanks Damien,

     

    I've now made some workaround in my process to avoid me having to read these attachments.  However if you do find a solution then would be interesting to know what you did

     

    Paul

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Get email attachment content (2 levels down)

    @midland192 

     

    Yeah, same.  I was hoping I could extract the msg attachment and then the bin from the msg but it seems to be completely unavailable.  The other option might be Power Automte Desktop.

     

    If I get a chance I will look again as it's fun to find something that is challenging.

     

    Damien

  • midland192 Profile Picture
    24 on at
    Re: Get email attachment content (2 levels down)

    Hi Damien

     

    Just got chance to look at this again.

     

    Same issue as your getting... I dont seem to be able to retrieve .msg files via get 'Get Mail' or 'Get Mails'

    Not a good start..

     

    However have no issue getting .bin file if in a seprate email 

     

    For some reason .msg files are not recognised!

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Get email attachment content (2 levels down)

    Hi @midland192 

     

    How are you getting on?

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Get email attachment content (2 levels down)

    Hi @midland192 

     

    I love a challenge and this is one of them 🙂  

     

    First thing I have discovered is that if you use get emails to retrieve attachments, if an msg file is attached, it doesn't list it in either get emails v3 or get email v2.  

     

    For example I created the following email:

    DamoBird365_0-1616752514775.png

    I had both my test bin file and an email msg file containing the bin file.  When I run the get emails or get email, it only returns 1 attachments.  If I do the same with just an msg file attached, I get 0 attachments.

     

    I'm not defeated on this one yet but wondering do you experience the same?

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Process Mining

Overall leaderboard