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.
It's working now, silly mistake, but I was putting the body directly in the body of the email, not in the attachments.
Hi @Corissandageri ,
Please ensure you are passing the correct file content while creating the PDF.
Also can you share the screenshots ?