web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard