web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Open file and send con...
Power Apps
Answered

Open file and send content as mail body

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey guys,
I have an application that specifies a file on a OneDrive folder. When a button is clicked there should be a flow initiated that sends a mail where the body is the content of that file. What file type would be best suited for this task and/or what connector should I use?

Categories:
  • Verified answer
    v-mingkz-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Do you want to get a specific file content and send an email as the body?

    I recommend you create flow in PowerApps to get the file content and use outlook connector to send an email.

     

    Following is my solution.

    1. create flow to get the file content

    This link may help you a lot.

    Solved: Get File Content From SharePoint with PowerApps - Power Platform Community (microsoft.com)

    vmingkzmsft_1-1689130376333.png

     

    vmingkzmsft_2-1689130400903.png

    vmingkzmsft_3-1689130431263.png

    vmingkzmsft_4-1689130497697.png

    Set(TheHTMLText,'0712'.Run(ThisItem.'Full Path').htmltext)

     

    2. Use outlook connector

    vmingkzmsft_5-1689130723934.png

    vmingkzmsft_6-1689130791074.png

     

    Best Regards, 

    Kyrie

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks Kyrie, you are the best!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard