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 / Office365Outlook.SendE...
Power Apps
Answered

Office365Outlook.SendEmail Behavior

(0) ShareShare
ReportReport
Posted on by 38

Trying to CC an email submission to the 'requestor' of the application and i've tried a couple different things that are not working to capture the user email.

 

Using 

 

Office365Users.MyProfile().Mail

 

and setting a variable on either 'StartScreen' or 'OnStart' with:

 

 

Set(user_email,Office365Users.MyProfile().Mail)

 

 

 

 

 

{IsHtml:true,Importance: "high", CC:user_email}

 

 

calling that variable as a CC target for the email code. I cannot for the life of me get it to send the email to the CC user_email variable. I know the variable is working because I set a textbox on the page to view the variable and it's capturing it just fine.

How can I use that populated variable when CCing someone using the SendEmail functions? 

 

If there is a better way to call or grab the users email and use it as a CC target, i'm all ears!

Thanks!

Categories:
  • Verified answer
    SebS Profile Picture
    4,882 Super User 2026 Season 2 on at

    @Damndionic360 

     

    Are your intentions ar to send emails to whoever using the app?

     

    If yes, You only need CC User().Email nothing else

     

    {IsHtml:true,Importance: "high", CC:User().Email}

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard