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 / How to send email with...
Power Apps
Answered

How to send email without using Office365Outlook.SendEmail function

(0) ShareShare
ReportReport
Posted on by 4

Hi all,

 

I know my question is kinda silly but please bare with me 😅.

 

My situation is that my company is using office ProPlus license but Outlook is still on-premise so I cannot connect outlook 365 to my Power App for the SendEmail function. And the company also restricts the use of 3rd party app too. About gateway, I don't have permission to do so.

 

I want that after clicking submit button, an email will be sent to some recipients (recipients data fed from input fields). So far, I have tried many ways and I could only use Notifications.SendEmailNotification() and it only sends email to me.

 

So my question is: "Can I adjust Notifications.SendEmailNotification() in a way that I could add more recipient beside myself" by editing JSON file for example.

 

Or is there any other way to send email to people by email when a button is clicked?

 

Thanks🤗🤗

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    Try using Mail Connector:

    https://flow.microsoft.com/en-us/connectors/shared_sendmail/mail/

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • v-xida-msft Profile Picture
    on at

    Hi @trungle ,

    Do you want to send an email to multiple users (not just yourself) without using Office365Outlook.SendEmail() function?

     

    Based on the needs that you mentioned, I think the Notification connector could not achieve your needs. The Notifications.SendNotification() function could only send email notification to yourself.

     

    As an alternative solution, I think the Mail connector could achieve your needs. You could consider add a connection to Mail connector from your app, then set the OnSelect property of the "Send Email" button to following:

    2.JPG

    Mail.SendEmailV3(
     "user1@emai.com;user2@email.com;user3@email.com", // you could type multiple email address here, separated with semicolon (;)
     "Email Subject", 
     "Email Body Message", 
     true
    )

     

    Please consider take a try with above formula on your side, check if the issue is solved.

     

    Best regards,

  • trungle Profile Picture
    4 on at

    Hi @v-xida-msft 

     

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @trungle ,

    If your company restricts the use of all third-party Mail connectors supported in PowerApps, I afraid that there is no way to achieve your needs in PowerApps currently.

     

    Currently, all connectors supported in PowerApps, please check the following article:

    https://docs.microsoft.com/en-us/connectors/

     

    If you have permission to create custom connector within PowerApps, you could consider create a custom connector based on Microsoft Graph REST API, then defined a action within this connector to send an email.

    More details about creating a custom connector based on Microsoft Graph REST API, please check the following article:

    https://gotoguy.blog/2017/12/17/access-microsoft-graph-api-using-custom-connector-in-powerapps-and-flows/

     

    On your side, you need to defined a "Send email" action in your custom connector based on the following endpoint:

    https://graph.microsoft.com/v1.0/me/sendMail

    please check the following article for more details:

    https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http

     

    After that, you could use the custom connector action to send email to your end users. 

     

    Best regards,

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard