The attachments do not work. But work if i remove the attachments parameter
__________________
Back(); If (CountRows(DataCardValue17.Attachments)>0,Office365Outlook.SendEmailV2("aaa.aaa@aaa.com","PO:" & DataCardValue18.Text & " for Credit Card transaction: " & Label1.Text, "Hello Please refer the attachment for the transaction", {Cc:User().Email} ,{Attachments:RenameColumns(DataCardValue17.Attachments,"Value","ContentBytes")}))
Hi @VTandon ,
Do you want to send email with multiple attachments?
Could you tell me whether you want to send the same file types?
1)If you send with different file types, then you need to firstly update these files to sharepoint list.
Then use data in this sharepoint list to send email:
Office365Outlook.SendEmail("EmailAddress","Subject","EmailBody",{Attachments:ForAll(LookUp(List1,ID=SharePointForm1.LastSubmit.ID).'{Attachments}',{Name:DisplayName,ContentBytes:Value})})
2)If you send with same file type(for example, all are images), then you do not need to save data firstly. You could directly send email:
Office365Outlook.SendEmail("EmailAddress","Subject","EmailBody",{Attachments:ForAll(RenameColumns(DataCardValue3.Attachments,"Value","FileContent"),{Name:"Image.png",ContentBytes:FileContent})})
Here's a similar issue for your reference:
Best regards,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.