cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nick2020
Level: Powered On

Sending Email Attachments using Office365 resulting in errors

Hello all, Here is my code. I am getting lots of errors , most of them are invalid arguments, unexpected characters. SubmitForm(SharePointForm1); Office365.SendEmail(TextInput1, "Subject", "This is a body: ", {Attachments:Table({Name:First(DataCardValue41.Attachments).Name; ContentBytes:First(DataCardValue41.Attachments).Value; '@odata.type':""; Importance:"normal"})}) What is the correct code for sending multiple attachments in the email? Please let me know. Thanks, Nick
Nick2020
Level: Powered On

Please help - Re: Sending Email Attachments using Office365 resulting in errors

Hello all, Here is my code. I am getting lots of errors , most of them are invalid arguments, unexpected characters.

SubmitForm(SharePointForm1) ; 
Office365.SendEmail(TextInput1, "Subject", "This is a body: ", {Attachments:Table(
{Name:First(DataCardValue41.Attachments).Name; ContentBytes:First(DataCardValue41.Attachments).Value; '@odata.type':""; Importance:"normal"})}) 

 

What is the correct code for sending multiple attachments in the email? Please let me know. Thanks, Nick