Skip to main content

Notifications

Power Automate - General Discussion
Answered

Email pdf from Power apps

(0) ShareShare
ReportReport
Posted on by 725

Hi all

What I have is html in Power apps, and in PAutomate I have created the file and in file content the html looks intact, but somewhere between converting and emailing it turns into the gobbledygook below in the final email.

 

%PDF-1.4 %���� 1 0 obj << /CreationDate(D:20230721063258+00'00') /Creator(PDFsharp 1.50.5147 \(www.pdfsharp.com\)) /Producer(PDFsharp 1.50.5147 \(www.pdfsharp.com\)) >> endobj 2 0 obj << /Type/Catalog /Pages 3 0 R >> endobj 3 0 obj << /Type/Pages /Count 1 /Kids[4 0 R] >> endobj 4 0 obj << /Type/Page /MediaBox[0 0 595 842] /Parent 3 0 R /Contents 5 0 R /Resources << /ProcSet [/PDF/Text/ImageB/ImageC/ImageI] /ExtGState << /GS0 6 0 R >> /Font << /F0 10 0 R /F1 14 0 R >> >> /Group << /CS/DeviceRGB /S/Transparency >> >> endobj 5 0 obj << /Length 1332 /Filter/FlateDecode >> stream x��X�j%7 �?O1ׅu,�J!�������R�¶��m��L<�I�2Y;��?

I have followed Shanes videos, but I'm getting something wrong.

Will provide screen shots if needed.

All I want at this stage, all I want is when I click on my button in PApps, that it emails the html in the form of a pdf to my chosen email address.

Any help would be much appreciated.

 

  • Verified answer
    R Bakker Profile Picture
    R Bakker 725 on at
    Re: Email pdf from Power apps

    It's working now, silly mistake, but I was putting the body directly in the body of the email, not in the attachments.

  • R Bakker Profile Picture
    R Bakker 725 on at
    Re: Email pdf from Power apps

    Corissandageri_0-1689931034717.pngCorissandageri_1-1689931121180.pngCorissandageri_2-1689931160970.png

     

    Corissandageri_3-1689931197101.pngCorissandageri_4-1689931223755.png

     

  • SanmeshG Profile Picture
    SanmeshG 1,938 on at
    Re: Email pdf from Power apps

    Hi @Corissandageri  ,

     

    Please ensure you are passing the correct file content while creating the PDF.

     

    Also can you share the screenshots ?

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard