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 / Send correct Email-Adress
Power Apps
Answered

Send correct Email-Adress

(0) ShareShare
ReportReport
Posted on by 70

I have created a shopping cart and when the order is ready, the customer should receive an e-mail with the items he has ordered. I do this with the command:
Office365Outlook.SendEmailV2(User().Email, ...

If the user receives an e-mail, then the sender is his own e-mail-Address, which is not correct and this is confusing for the customer when he receives an e-mail from himself.

 

So I add the following to my code:
{
From:"marketing@xxxx.de"
}

then the customer get the error message that the order user does not have permission to send emails for the marketing user.

What is the correct procedure so that the customer receives an email from marketing@xxx.de?

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    The correct process would be to not trigger the flow from the app - you would have the app instead write data to a datasource and then you create a new flow that is triggered 'when an item is created'.

     

    Flows that are created inside an App run  under the user context, so it doesn't matter what connection you use when creating the flow as it will always use the user's connections. Th user's don't normally have the right to send from marketing, and the app will use what access they currently have in Microsoft Exchange.

     

    That is why we would use a flow that runs outside the app - then in the flow you can use a connection with an account that has send as rights to that marketing address. So if your developer account that creates apps/flows has rights to send from that account then you can use the 'send as' property of the action to send as marketing (if your  account that you are building the flow with has that right)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 893

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 482

Last 30 days Overall leaderboard