web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Send mail with attachm...
Power Apps
Unanswered

Send mail with attachments from power apps

(0) ShareShare
ReportReport
Posted on by

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)

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard