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 / Send single mail to cr...
Power Apps
Unanswered

Send single mail to created collection of mails

(0) ShareShare
ReportReport
Posted on by 116

Hello guys,

as you can see in the first screenshot. I created an textinput with the function to add mail addresses to an collection. I did that with "collect". 

Cedric0404_0-1695809111407.png

So my target is it now to have a button some screens later, which sends (by clicking on it) an mail to all the mails in the collection, created before. Do I have to save the mails in a sharepoint list first or how can I do that?

 

 

Thanks for the help!!

Categories:
I have the same question (0)
  • gcmfaizan Profile Picture
    1,022 on at

    Hi @Cedric0404 ,

     

    Please have a look on this blog to send email from powerappsHow To Send Emails With PowerApps .

    and also have lookon this video PowerApps send email with a button both link will be very helpfull for you.

     

     

    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

     

    Thanks!

  • Verified answer
    ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    Hi @Cedric0404 , You can store the email to SP list or you can also use local collection and then use Office365Outlook.SendEmail() function to send email.

     

    IF you use local collection, then you can use below code to send email from button click:

     

     

    Office365Outlook.SendEmail(Concat(collection,ColumnName,";"))

     

     

    collection is nothing but your local collection which has email address, columnname is nothing but the column name in collection which holds emails address.

    Please check this for detail syntax :https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/connections/connection-office365-outlook#send-a-message

    Also check this https://powerusers.microsoft.com/t5/Building-Power-Apps/Send-Email-on-Button-Press/td-p/107329

     

    Example: Office365Outlook.SendEmail(inputTo.Text, inputSubject.Text, inputBody.Text, {Attachments:Table({Name:"file1.jpg", ContentBytes:Camera1.Photo, '@odata.type':""}, {Name:"AudioFile", ContentBytes:microphone1.audio })})

     

    NOTE: Make sure to add Office 365 Outlook connector to app first.

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,
    ANB

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard