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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / sending emails using a...
Power Apps
Unanswered

sending emails using a collection/checkbox to get email address from SP list

(1) ShareShare
ReportReport
Posted on by 57
Hi all,    (My apologies, I cannot tag or accept your replies as answers, so if you do help me, i really do appreciate it)
 
I have a sharepoint list that holds volunteer details for helping out a charity. I am building an app to be able to send them all emails depending on what stage they are at.
 
I currently have three checkboxes Email all, Applied and assessment. Oncheck collect- capture the following:
Collect(ColEmailAll,ShowColumns('EoI Database','Your first name','Your email address'))
 
 
Is there away to link the "Send To email box" to the sharepoint list and/or use the "check boxes" and collections to get the email address and name.? So if I selected/Check "Email all". when I press Send, it emails all email addresses in the collection
and adds in their first name before the message box. The user then just populates Subject,Message, attachments etc.  If possible, it would be good to use both the "Send email to" and the Checkboxes if that is possible.
 
Only one Check box will be checked at any time.
 
My current email code is:
 
Set(_emailRecipientString, Concat(MyPeople, Mail & ";"));          
Office365Outlook.SendEmailV2(_emailRecipientString, TextEmailSubject2_1.Text, RTEBody.HtmlText, {Attachments:RenameColumns(AttachmentControl.Attachments,Value,ContentBytes), Importance:"Normal"});        
Reset(TextEmailSubject2_1);          
Reset(RTEBody);
Reset(AttachmentControl);          
Clear(MyPeople)
 
 
Hopefully that makes sense, thank you for taking the time to read my post. (PS do not worry about the Event link, thats being removed) Any direction or help would be great as this is way above my head but i am willing to learn.
 
Categories:
I have the same question (0)
  • mickgibbons4530 Profile Picture
    57 on at
    Can anyone help with this please, i cannot get my head around it
  • Verified answer
    mickgibbons4530 Profile Picture
    57 on at
    A friend helped me figure it out
     
    ForAll(Colemaillist,Office365Outlook.SharedMailboxSendEmailV2("SenderEmail@.com",Your_x0020_email_x0020_address, TextEmailSubject2_1.Text,"Dear " & Your_x0020_first_x0020_name & "<br><br>" & RTEBody.HtmlText, {Attachments:RenameColumns(AttachmentControl.Attachments,Value,ContentBytes), Importance:"Normal"}));
     
    Reset(TextEmailSubject2_1);          
    Reset(RTEBody);
    Reset(AttachmentControl);          
    Clear(Colemaillist);

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard