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 Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (4,799)