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 Automate / Email pdf from Power apps
Power Automate
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.

 

Categories:
I have the same question (0)
  • SanmeshG Profile Picture
    1,947 Moderator on at

    Hi @Corissandageri  ,

     

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

     

    Also can you share the screenshots ?

  • R Bakker Profile Picture
    725 on at

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

     

    Corissandageri_3-1689931197101.pngCorissandageri_4-1689931223755.png

     

  • Verified answer
    R Bakker Profile Picture
    725 on at

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

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 481

#2
11manish Profile Picture

11manish 278

#3
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

Last 30 days Overall leaderboard