Please, can anyone in the community provide a little suggestion on how to email a PDF file using SendMail?
Button OnSelect: Office365.SendEmail(User().Email,"Your Package is on its Way!",txtEmailBody,{Importance: Normal, IsHtml:true, {Attachments:Table({Name:"file1.pdf", ContentBytes:??????.???, '@odata.type':""}) });
1) I can't work out what the ContentBytes should be for a PDF;
2) Where should I put the "file1.PDF" so that SendMail can find it?
All of the excellent examples I've found demonstrate how to send a pic from a camera.
Thank you in advance.
Chris