cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Office 365 Connector Send as

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:

 

1.jpg

 

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

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

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

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

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

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-yamao-msft,

 

That's exactly what happens.Thank you for the clarification.

I assume the only solution is to use Microsoft Flow.

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,877)