I have generated a PDF from an API and I am returned only with the base64binary of the PDF. I am trying to find a way to send this PDF as an email attachment in Outlook.
Does anyone have any idea how to approach this?
I have generated a PDF from an API and I am returned only with the base64binary of the PDF. I am trying to find a way to send this PDF as an email attachment in Outlook.
Does anyone have any idea how to approach this?
Hi @David57940, have you tried checking this sample request from microsoft?
Replacing the Attachment[0].Name with a pdf extension for the filename and the Attachment[0].ContentBytes with the base64binary you got from an API.