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 / Email Template - Defau...
Power Apps
Answered

Email Template - Default "To" address

(0) ShareShare
ReportReport
Posted on by 225

Currently the in-built Power Apps email template allows the user to pick the "To" email address, but I would like to remove that option and the email is sent to a predefined email address.  I have tried to get this working, but it would seem there are lots of other app elements that relate to the "To" field.  I was hoping I could just remove the "To" field and add the preferred "To" email address somewhere, but no such luck.

 

Has anyone figured out the above?

Thanks in advance

Categories:
  • Verified answer
    alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on at

    Hello,

     

    The To field is based ob a collection called myPeople so whaat you can do is to prefill this collection with a predefiened user and put the to field either not visible or disable for example in the onvisible of my screen I added 

    Collect(MyPeople, First(Office365Users.SearchUser({top:1,searchTerm:"alaa bitar"}))) and disabled the To textbox

    alaabitar_0-1658320819045.png

     

    Best regards,

    Alaa

     

  • MVP-Phipps Profile Picture
    3,526 Super User 2024 Season 1 on at

    Why don't you just add the predefined email address into the TO? 

    Please Accept as Solution if it solves your question. Or give this a Thumbs Up if it is helpful because this can help others.

    LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
    Subscribe to my YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
    Twitter: https://twitter.com/phipps0218

     

  • StuartSmith Profile Picture
    225 on at

    Thanks, that worked great. 👍

  • Mafiatone Profile Picture
    12 on at

    Thanks Alaa, can I ask for the syntax if I wanted to add 2 or more names to the collection by default.

  • eatsam Profile Picture
    2 on at

    This work fine with the Office 365 users. In my case, I want to predefine email address of the Shared mailbox or external email address.  Please advise what syntax should I use? Any help or advice will be greatly appreciated.

  • dropkic4u Profile Picture
    24 on at

    I did exactly as you instructed and it's not working for me. What am I doing wrong? I wrote that function on the screen OnVisible property only, and nothing else. Is there something else that's needed?

  • dropkic4u Profile Picture
    24 on at

    Oops! I never went back to first screen to navigate to the email screen and populate the variable. Working like a champ! Thank you sir!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard