Hi,
i have Flow when new Mail arrives it should get the attachments and send them with send an email action.
I have multiple attachments, so i use Array Variable to store them.
I read a lot about the "" around ContentBytes in Array Variable are problematic, but i don't have those.
I tried these scenarios:
{
"Name": "@{outputs('Get_Attachment_(V2)')?['body/name']}",
"ContentBytes": @{outputs('Get_Attachment_(V2)')?['body/contentBytes']}
}
-> can't open file
{
"Name": "@{outputs('Get_Attachment_(V2)')?['body/name']}",
"ContentBytes": "@{outputs('Get_Attachment_(V2)')?['body/contentBytes']}"
}
-> can open file, but it is blank
{
"Name": @{outputs('Get_Attachment_(V2)')?['body/name']},
"ContentBytes": @{outputs('Get_Attachment_(V2)')?['body/contentBytes']}
}
-> can't open file
I add the attachment in the send email action like this:
Code View:
What am i missing?
Thanks for your help