Skip to main content

Notifications

Power Automate - General Discussion
Answered

Attaching a file when sending from a Shared Mailbox (V2)

(0) ShareShare
ReportReport
Posted on by

I had built a flow sending an email with an attached file (PDF) using my own email address and this was OK. I needed to change it to sending from a shared mailbox, and now when I use 'File content' in the Attachments 'Content' and save, it defaults to 'base64' (below). The email arrives but the PDF won't open. Would this be due to where the files are saved in SharePoint? Thanks for any help.

Bonniedog2_0-1702939548883.png

 

  • Bonniedog2 Profile Picture
    Bonniedog2 on at
    Re: Attaching a file when sending from a Shared Mailbox (V2)

    Thanks Sunshine - working perfectly now. Wasn't aware of having to change back to classic.

  • Verified answer
    Re: Attaching a file when sending from a Shared Mailbox (V2)

    Hi @Bonniedog2 ,

    It has nothing to do with where the file is stored in SharePoint.

    Please switch to classic designer.

    vyetonggumsft_7-1702948639655.png

    I have listed two situations. Which one do you need?

    1)Get the contents of files in multiple items:

    vyetonggumsft_0-1702948051023.png

    vyetonggumsft_4-1702948231504.png

    vyetonggumsft_5-1702948269866.png

     

    {
    "Name":FileName,
    "ContentBytes":FileContent
    }

     

    vyetonggumsft_8-1702948681149.png

    2_Get the contents of files in single item:

    vyetonggumsft_11-1702949137343.png

    vyetonggumsft_9-1702949053665.png

    vyetonggumsft_10-1702949067148.png

    If you still have questions, please post a complete screenshot of your flow.

    Best Regards,

    Sunshine Gu

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard