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 / Attachment form your f...
Power Apps
Answered

Attachment form your formula missing a column 'attachemnets.contentBytes' for sending emails

(1) ShareShare
ReportReport
Posted on by 57
Hi all
 
I am using the Form attachment control within a power app to send an email. I have watched videos from Shame and read articles but i cannot get this to work. Any help with be amazing. Thank you for taking the time to look at this
 
 
Office365Outlook.SendEmailV2(
    "Mick1@gmail.Org",
    TextEmailSubject2_1.Text,
    RTEBody.HtmlText,
    {
        Attachments: RenameColumns(
            AttachmentControl.Attachments,
            "Value",
            "ContentBytes"
        ),
        Importance: "Normal"
    }
)
 
Categories:
I have the same question (0)
  • Suggested answer
    WarrenBelz Profile Picture
    154,791 Most Valuable Professional on at
    You do not need quotes around RenameColumns parameters any more
    Office365Outlook.SendEmailV2(
       "Mick1@gmail.Org",
       TextEmailSubject2_1.Text,
       RTEBody.HtmlText,
       {
          Attachments: RenameColumns(
             AttachmentControl.Attachments,
             Value,
             ContentBytes
          ),
          Importance: "Normal"
       }
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • Verified answer
    mickgibbons4530 Profile Picture
    57 on at
    i have literally just figured that out and came in here to update post lol,  Thank you WarrenBelz For some reason i cannot accept your reply as an answer but i have logged a ticket and will continue to try.

    I can only check my Answers but for those looking for the answer, check out Warenbelz post
  • mickgibbons4530 Profile Picture
    57 on at
    @WarrenBlez 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard