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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,845)