Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

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

(1) ShareShare
ReportReport
Posted on by 51
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.
 
  • Verified answer
    mickgibbons4530 Profile Picture
    51 on at
    sending emails using a collection/checkbox to get email address from SP list
    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);
  • mickgibbons4530 Profile Picture
    51 on at
    sending emails using a collection/checkbox to get email address from SP list
    Can anyone help with this please, i cannot get my head around it

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard