Hi,
I am trying to send emails from Power app and for attachment control I get this error
Missing column. Your formula is missing a column 'contentBytes' with a type of 'blob'
I have tried renamecolumns method already

Hi,
I am trying to send emails from Power app and for attachment control I get this error
I have tried renamecolumns method already
@Vishnu27 - You're going to need to give us more information than that.
Which email function are you using? How are you defining the attachment?
Here is a simplified example of a formula I use to send a PDF of an HTML Text control on a screen the user is looking at:
Office365Outlook.SendEmailV2(
Concat(colSharingList, Mail, ";"),
"[PDF] Document",
"See attached PDF.<br /><br /><i>This message was sent by 'The Tool'.</i>",
{
Attachments: Table(
{
Name: "Document.pdf",
ContentBytes: PDF(
HtmlText5,
{
DPI: 72,
Margin: "5mm",
Size: PaperSize.Letter,
Orientation: PaperOrientation.Landscape
}
)
}
)
}
)
The colSharingList is a collection of the email addresses I chose on-screen to receive the email. The PDF() function creates the blob object for the Attachments table you pass to the email function.