
Announcements
Hi everyone,
I'm hoping someone can help me with a persistent and quite frustrating issue I'm facing in Power Apps.
I'm using the PDF() function within a Power App to generate a PDF, and then sending it as an attachment via the Office365Outlook.SendEmailV2 connector.
Here's the problem:
This is really stumping me, as it works flawlessly for Gmail, suggesting the PDF generation itself might not be the core issue. Has anyone encountered this specific behavior before, or do you have any insights into why Exchange/Outlook might be handling these PDF attachments differently?
Any help or suggestions would be greatly appreciated!
Office365Outlook.SendEmailV2(
"recipient@example.com",
"Subject",
"Body text",
{
Attachments: Table({
Name: "Report.pdf",
ContentBytes: PDF(
galleryOrControlName,
{
Orientation: PaperOrientation.Portrait,
Size: PaperSize.A4,
DPI: 150,
ExpandContainers: true
}
)
})
}
)