Guys,
I need help with code i used for sending mail with attachment. Everything was ok since added Attachments. Below code i use
In light blue color part which was added and red coma where i have warning . I use sharepoint for storing data
Please advice what is wrong with this syntax.
Office365Outlook.SendEmailV2(
FormNew.LastSubmit.'Supplier contact email',
"SCAR No: " & FormNew.LastSubmit.'SQAR No'& "; " & "Supplier Name: " & FormNew.LastSubmit.'Supplier name' , FormNew.LastSubmit.'Message to supplier'& Char(13) &
" <br><b> "& "Issue Reported by location: </b>" & FormNew.LastSubmit.'Reporting location' &"," &
" <br><b> "&"Supplier Name: </b>" &FormNew.LastSubmit.'Supplier name' &"," &
" <br><b> " &"Product Group: </b>" &FormNew.LastSubmit.'Product group tier 1' &"," &
" <br><b> " &"Repeated Complaint: </b>" &FormNew.LastSubmit.'Repeat concern'.Value &"," &
" <br><b> " &"Complaint Status: </b>" &FormNew.LastSubmit.'Complaint status'.Value &"," & "</br>" &
" <br><b> " &"Link to SCAR : </b>" &FormNew.LastSubmit.'Link to item' &"," &
formTemplate,
{Cc:Concat(FormNew.LastSubmit.'Copy to',Email &"; ") & "; " & Concat(FormNew.LastSubmit.'SCAR coordinator',Email &"; "), Attachments: AddColumns((FormNew.LastSubmit.Attachments,"Name", DisplayName, "ContentBytes", Value, "@odata.type", ""),IsHtml: true});
Navigate(ScreenSuccess)

Report
All responses (
Answers (