web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Displaying Application...
Power Apps
Unanswered

Displaying Application Name when sending email

(1) ShareShare
ReportReport
Posted on by 986

Hi everyone,

I have used Microsoft 365 Outlook connector to send emails. The scenario was as follows:

On my login page, I have a given a option if a user is new then they can register themselves on the application:

Sidhant_02_0-1674544194315.png

 

New User Registration Page/Screen:

Sidhant_02_1-1674544250782.png

After the user enters all the details and clicks on Submit, then I am using the Microsoft Outlook 365 connector (instead of Power Automate)

Sidhant_02_2-1674544395543.png

For the email: I am using the same email that is been entered in the email field. The email is sent but I just wanted to make 1 change to it:

Sidhant_02_3-1674544519074.png

Instead of displaying the current logged in user details (here my name: as the connector is using the Outlook login details) can I set some other name like the application name (Login App) so that the user gets to know that it's about the application that they had registered.

@KeithAtherton 

 

Regards,

Sidhant

Categories:
I have the same question (0)
  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at
    Re: Displaying Application Name when sending email

    Hi @Sidhant_02 
    The easiest way is to hard code the app name on AppOnStart

    Set(
     gblAppGlobalName,
     {
     ApplicationName: "My Project Software",
     ApplicationID: "17718e8c-f2e0-40e1-8be0-f1ab03e73ef7",
     SessionID: Text(
     Now(),
     "ddmmyy-hhmmss"
     )
     }
    );

    And reuse gblAppGlobalName.ApplicationName

    Office365Outlook.SendEmail("your@email.com", "Subject", "Body of the email, App name is: " & gblAppGlobalName.ApplicationName)

     

  • Sidhant_02 Profile Picture
    986 on at
    Re: Displaying Application Name when sending email

    Hi @Ramole ,
    Thanks for the reply, I did try the solution that you have mentioned:

    Sidhant_02_0-1674551356379.png

    Sidhant_02_1-1674551416792.png

    But I was hoping to get the application name like this: (is it possible?)

    Sidhant_02_2-1674551482685.png

    The email can be optional (which will retrieve the mail of admin which is defined in SharePoint list with User role: Admin)

    Sidhant_02_3-1674551576054.png

     

  • Ramole Profile Picture
    Super User 2024 Season 1 on at
    Re: Displaying Application Name when sending email

    Hi @Sidhant_02 
    You can change or add in to different section the subject Email

    Office365Outlook.SendEmail("your@email.com", gblAppGlobalName.ApplicationName, "Body of the email, App name is: " & gblAppGlobalName.ApplicationName)

     

  • KeithAtherton Profile Picture
    3,705 Most Valuable Professional on at
    Re: Displaying Application Name when sending email

    Hi @Sidhant_02,

     

    Yes, you can use the Power Apps for Makers connector to get the app name.

     

    More info: https://learn.microsoft.com/en-us/connectors/powerappsforappmakers/#get-app


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard