Hi @Kollenel26 ,
Could you please share a bit more about the PDF file data stored in your SQL Table? Is it stored as Blob data?
Do you want to retrieve all blobs (PDF files) from a specific folder in your Azure Blob Storage, and then attach them as attachments of the email?
Based on the needs that you mentioned, I have made a test on my side, please consider take a try with the following workaround:
Set the OnSelect property of the "Send Email" button to following:
Office365Outlook.SendEmailV2(
"User1@email.com",
"Subject Text Here",
"Email Body Message Here",
{
Attachments: ForAll(
AzureBlobStorage.ListFolderV2("Type your Specific Folder Id here").value,
{
Name: DisplayName,
ContentBytes: AzureBlobStorage.GetFileContent(Id),
'@odata.type': ""
}
)
}
);
Note: You need to add Office 365 Outlook connection and AzureBlobStorage connection within your app firstly.
More details about sending an email with attachments in canvas app, please check the following article:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-office365-outlook#send-a-message-with-an-attachment
Best regards,