Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Sending email from power app

(0) ShareShare
ReportReport
Posted on by 254

I created a simple little canvas app. It shows a list of our clients, the user chooses one and click next. On the next screen is an email template. The user enters the email address and click send. An email with the relevant client's information is then sent to the recipient. 

There is a small issue that I don't know how to fix. 

See attachment ss1: if I were to type the entire email address and click send, it works. 

See attachment ss2: if I were to select the suggested person, the email address box is cleared, and the name is moved to below it.

See attachment ss3: If I send the email with the empty to box, with the name underneath, I get this error. And afterwards, the name in blue underneath the to box, isn't cleared either. 

 

My send button has the following on select: 

Office365Outlook.SendEmailV2(to_txt.Text, subject_txt.Text, body_txt.Text);
Reset(to_txt);          
Reset(body_txt);
Navigate(ClientListScreen)

 

What am I missing?

  • Sathish1227 Profile Picture
    22 on at
    Re: Sending email from power app

    @hildasteyn 

     

    I hope you are using the Email template (from the screens),

    Please cross-check your Power Automate connection once.

     

     

  • scalca Profile Picture
    on at
    Re: Sending email from power app

    i guess there is a gallery below the To search box which is showing all the selected recipients
    in your onselect function you have to get the email addresses from the collection which is connected to the gallery.
    pls check the items property of the gallery there should be a collection

    in order to send the email to all users you have to loop through the collection with the ForAll function
    for example ForAll(MyPeople, Office365SendEmailV2(ThisRecord.Mail, Subject, Body))

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,552 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard