
Announcements
I'm new to Power Automate and am attempting to attach a content file to an email. However, when the email is received, the attachment appears to be corrupted. Initially, the email attachment seems to be a PDF file, as intended, but upon opening, it does not appear as such. To identify the problem, I've created a simple flow, but I'm at a loss for an explanation.
Hi @SkyPixelWandere ,
Add the file extension to the filename and reformat the array as shown below, then retest the flow:
And I think the format of the attachment array needs to be:
[
{
"name": "<filename with extention",
"contentBytes": {
"$content-type": "<content-type>",
"$content": "<content>"
}
}
]
Ellis
____________________________________
If I have answered your question, please mark the post as ☑️ Solved.
If you like my response, please give it a Thumbs Up.
My Blog Site