Hi,
I've one question regarding office 365 connector.
I created an e-mail account to be the one as send e-mails on powerapps, and then I connect this e-mail account in power apps data sources:
My next step was create a button with this code:
Office365.SendEmail( DataCardValue11.Text; "text....."; {Importance: Normal; Cc: User().Email &";"& DataCardValue6.Text ; IsHtml:true} )
This works great. My only concern is that this app is used by other people, and the sender is always the e-mail account of the people instead of the e-mail I had created.
I know that when people open the app it asks the e-mail account who have to be used. It is possible do this work only with the data source from outlook 365 that I had created before?
I tried to add the "From" option in my code, it will not work too, 'cause this people don't have direct access to this e-mail account.
Regards,
Flávio
Hi @v-yamao-msft,
That's exactly what happens.Thank you for the clarification.
I assume the only solution is to use Microsoft Flow.
Hi fcarvalho,
It should be a default behavior. I assume that you have shared the app with other people, when other people run the app on their side, they will be asked to create their own connection.
Once the connection is creatd, the app will be based on their own Office 365 Outlook connection, so an email will be sent using their email account.
Best regards,
Mabel Mao
WarrenBelz
83
Most Valuable Professional
MS.Ragavendar
54
mmbr1606
41
Super User 2025 Season 1